Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dbb38af

Browse files
committedAug 24, 2024··
Apply repo-review suggestion RF003
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"]`.
1 parent 81041f7 commit dbb38af

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: black
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.5.6
25+
rev: v0.6.2
2626
hooks:
2727
- id: ruff
2828
args: [--fix, --exit-non-zero-on-fix]

‎pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ distlib = "https://bitbucket.org/pypa/distlib/raw/master/LICENSE.txt"
150150
#
151151

152152
[tool.ruff]
153-
src = ["src"]
154153
line-length = 88
155154
extend-exclude = [
156155
"_vendor",

0 commit comments

Comments
 (0)
Please sign in to comment.