Skip to content

Commit

Permalink
Update repo-review
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson committed Nov 7, 2023
1 parent fb88b4a commit 2567bb5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ repos:
- id: prettier

- repo: https://github.com/scientific-python/cookie
rev: 2023.08.23
rev: 2023.10.27
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
19 changes: 10 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,15 @@ src = [
"docs",
"setup.py",
]
target-version = "py39"
select = [
line-length = 88
extend-exclude = [
'docs',
'src/stpipe/extern',
'scripts/strun',
]

[tool.ruff.lint]
extend-select = [
'F', # Pyflakes
'W', 'E', # pycodestyle
'I', # isort
Expand Down Expand Up @@ -126,14 +133,8 @@ select = [
'PERF', # Perflint (performance linting)
'RUF', # ruff specific checks
]
line-length = 88
extend-exclude = [
'docs',
'src/stpipe/extern',
'scripts/strun',
]

[tool.ruff.extend-per-file-ignores]
[tool.ruff.lint.extend-per-file-ignores]
"tests/*.py" = ["S101", "S603", "S607", "INP001", "ARG001"]
"src/stpipe/tests/*.py" = ["S101"]
"src/stpipe/cli/*.py" = ["T201"]
Expand Down

0 comments on commit 2567bb5

Please sign in to comment.