8000 `extend-select` and additional ruff rules by DimitriPapadopoulos · Pull Request #587 · nipy/nipy · GitHub
[go: up one dir, main page]

Skip to content

extend-select and additional ruff rules #587

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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
ruff: use extend-select instead of select
Add a few
8000
 rules in the process.
  • Loading branch information
DimitriPapadopoulos committed Dec 25, 2024
commit b01fe7f8686635df1077e26ac943ec7c22312b4f
37 changes: 28 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,41 @@ nipy_diagnose = 'nipy.cli.diagnose:main'
line-length = 88

[tool.ruff.lint]
select = [
extend-select = [
'I',
'UP',
'C4',
'E713',
'PIE',
'PGH003',
'PGH',
'PLR0402',
'SIM101',
'SIM109',
'SIM110',
'SIM118',
'SIM2'
'SIM',
'PERF',
'RUF'
]
ignore = [
'UP031'
'F401',
'F402',
'F403',
'F821',
'F841',
'E402',
'E712',
'E721',
'E722',
'E731',
'E741',
'E742',
'UP031',
'SIM102',
'SIM105',
'SIM108',
'SIM114',
'SIM115',
'SIM300',
'PERF203',
'RUF005',
'RUF012',
'RUF015'
]

[tool.spin]
Expand Down
Loading
0