Skip to content

Commit

Permalink
feat: add io/readers to ruff config (#94)
Browse files Browse the repository at this point in the history
Updated include list to have the io/readers functions and updated the
files so all ruff tests pass.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced flexibility in loading feature files by accepting both `Path`
objects and strings.
- Improved error handling and logging for file loading and directory
access.

- **Bug Fixes**
- Enhanced error handling and logging for file loading and directory
access, providing clearer context for issues.

- **Documentation**
- Updated docstrings for functions to improve clarity and detail,
including return type annotations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
strixy16 authored Dec 18, 2024
1 parent 9b734be commit 7efc97b
Show file tree
Hide file tree
Showing 5 changed files with 588 additions and 3,198 deletions.
2 changes: 1 addition & 1 deletion config/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include = [
"src/readii/feature_extraction.py",
"src/readii/cli/**/*.py",
"src/readii/negative_controls_refactor/**.py",
"src/readii/io/writers/**.py",
"src/readii/io/**/**.py",
"src/readii/analyze/**.py"
]

Expand Down
Loading

0 comments on commit 7efc97b

Please sign in to comment.