Skip to content

Commit

Permalink
pyg4ometry : (CI/CD) update RUFF version and ignore RUF012
Browse files Browse the repository at this point in the history
  • Loading branch information
stewartboogert committed Aug 4, 2023
1 parent 91d4be5 commit 031d020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
additional_dependencies: [black==23.3.0]

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.272"
rev: "v0.0.276"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,12 @@ select = [
"NPY", # NumPy specific rules
# "PD", # pandas-vet
]

extend-ignore = [
"PLR", # Design related pylint codes
"E501", # Line too long
"PT004", # Use underscore for non-returning fixture (use usefixture instead)
"RUF012", # Mutable class attributes should be annotated with typing.ClassVar
]
target-version = "py37"
src = ["src"]
Expand Down

0 comments on commit 031d020

Please sign in to comment.