Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed May 27, 2024
1 parent 5e4ac63 commit e4263fb
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,10 @@ src = [
"src",
]

[tool.ruff.lint]
extend-select = [
lint.extend-select = [
"B", # flake8-bugbear
"I", # isort
"C4", # flake8-comprehensions
"I", # isort
"ISC", # flake8-implicit-str-concat
"PGH", # pygrep-hooks
"PIE", # flake8-pie
Expand All @@ -119,31 +118,29 @@ extend-select = [
"UP", # pyupgrade
"YTT", # flake8-2020
]
ignore = [
lint.ignore = [
"PLR09", # Too many X
"PLR2004", # Magic values
]
typing-modules = [
"vector._typeutils",
]
isort.required-imports = [
"from __future__ import annotations",
]

[tool.ruff.lint.per-file-ignores]
"noxfile.py" = [
"T20",
]
"tests/*" = [
lint.per-file-ignores."noxfile.py" = [
"T20",
]
"src/vector/backends/_numba_object.py" = [
lint.per-file-ignores."src/vector/backends/_numba_object.py" = [
"PGH003",
]
"tests/backends/test_operators.py" = [
lint.per-file-ignores."tests/*" = [
"T20",
]
lint.per-file-ignores."tests/backends/test_operators.py" = [
"PLR0124",
"SIM201",
"SIM202",
"PLR0124",
]
lint.typing-modules = [
"vector._typeutils",
]
lint.isort = [
"from __future__ import annotations",
]

[tool.pylint]
Expand Down

0 comments on commit e4263fb

Please sign in to comment.