Skip to content

Commit

Permalink
Apply repo-review suggestion RF003
Browse files Browse the repository at this point in the history
RF003: src directory doesn't need to be specified anymore (0.6+)

Ruff now (0.6+) looks in the src directory by default. The src
setting doesn't need to be specified if it's just set to `["src"]`.
  • Loading branch information
DimitriPapadopoulos committed Aug 24, 2024
1 parent 4462299 commit 2b92ca6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
rev: v0.6.2
hooks:
- id: ruff
args: [ "--fix", "--unsafe-fixes", "--show-fixes", "--exit-non-zero-on-fix"]
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ version.source = "vcs"

[tool.ruff]
line-length = 121
src = [
"src",
]
lint.extend-select = [
"A",
"B",
Expand Down

0 comments on commit 2b92ca6

Please sign in to comment.