Skip to content

Commit

Permalink
Update ruff config to latest recommended usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Jun 4, 2024
1 parent bf90877 commit b75e0dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ preview = true
exclude = ".git|.mypy_cache|.tox|.venv|venv|.ipynb_checkpoints|_build/|dist/|__pypackages__|.ipynb|docs/"

[tool.ruff]
select = ["E", "F", "T100", "T201", "T203"]
lint.select = ["E", "F", "T100", "T201", "T203"]
exclude = [
".git",
".tox",
Expand All @@ -112,11 +112,11 @@ exclude = [
]
line-length = 120

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"src/pynwb/ndx_extracellular_channels/__init__.py" = ["E402", "F401"]
"src/spec/create_extension_spec.py" = ["T201"]
"src/pynwb/tests/test_example_usage_all.py" = ["T201"]
"src/pynwb/tests/test_example_usage_probeinterface.py" = ["T201"]

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
max-complexity = 17

0 comments on commit b75e0dd

Please sign in to comment.