这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Upcoming (TBD)
Internal
--------
* Add mypy to Pull Request template.
* Enable flake8-bugbear lint rules.


1.40.0 (2025/10/14)
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,13 @@ target-version = 'py39'
line-length = 140

[tool.ruff.lint]
select = ['A', 'I', 'E', 'W', 'F', 'C4', 'PIE', 'TID']
select = ['A', 'B', 'I', 'E', 'W', 'F', 'C4', 'PIE', 'TID']
ignore = [
'B005', # Multi-character strip()
'B006', # TODO: Mutable data structures for argument defaults
'B007', # TODO: Variable unused
'B015', # TODO: Pointless comparison
'B904', # TODO: Raise exceptions with "raise ... from err"
'E401', # Multiple imports on one line
'E402', # Module level import not at top of file
'PIE808', # range() starting with 0
Expand Down