-
Notifications
You must be signed in to change notification settings - Fork 2
review: CLAUDE.md #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -52,8 +52,9 @@ and pass tests. | |||||
|
|
||||||
| ## Code style | ||||||
|
|
||||||
| - **Formatter:** Black (max line length follows Black defaults) | ||||||
| - **Linter:** Pylint (max line: 100, max statements: 50, see `.pylint/src`) | ||||||
| - **Formatter:** Black (enforces 88-char line length for all code) | ||||||
| - **Linter:** Pylint (max line: 100 as a lenient upper bound for non-Black-managed cases, | ||||||
| max statements: 50, see `.pylint/src`) | ||||||
| - **Python:** >=3.12.0 required | ||||||
|
||||||
| - **Python:** >=3.12.0 required | |
| - **Python:** >3.10,<=3.14 (see `pyproject.toml` for the authoritative version constraint) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. The CLAUDE.md should reference pyproject.toml as the source of truth for the Python version constraint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The statement that Black "enforces 88-char line length for all code" is a bit too absolute: Black’s default line length is 88, but it can still emit longer lines (e.g., long strings/URLs, some comments) and won’t always reflow everything under 88. Consider rephrasing to "Black (default line length 88)" or similar to avoid an incorrect guarantee.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. Good catch — Black's default is 88 but it doesn't guarantee all lines stay under 88.