Skip to content

Commit

Permalink
Update pyproject.toml to use latest ruff usage (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Jun 4, 2024
1 parent 324362d commit a561782
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions {{ cookiecutter.namespace }}/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,9 +112,9 @@ exclude = [
]
line-length = 120

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"src/pynwb/{{ cookiecutter.py_pkg_name }}/__init__.py" = ["E402", "F401"]
"src/spec/create_extension_spec.py" = ["T201"]

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

0 comments on commit a561782

Please sign in to comment.