Skip to content

Commit

Permalink
Merge pull request #76 from stewartboogert/ruff-disable-ruff012
Browse files Browse the repository at this point in the history
python : (ruff) remove class variable annotation
  • Loading branch information
stewartboogert authored Aug 4, 2023
2 parents 91d4be5 + 29ee9f7 commit f4f15d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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
4 changes: 3 additions & 1 deletion 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 All @@ -152,5 +154,5 @@ manylinux-x86_64-image = "g4edge/pyg4ometry-manylinux2014_x86_64:latest"
archs = ["auto"]

[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
archs = ["x86_64"] #, "arm64"]
before-all = ".github/bin/install-deps-macos.sh"

0 comments on commit f4f15d0

Please sign in to comment.