Skip to content

Commit 01ca971

Browse files
committed
linting config
1 parent 7820aa8 commit 01ca971

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ branch = true
7575
source = ["sarxarray"]
7676

7777
[tool.ruff]
78-
select = [
78+
lint.select = [
7979
"E", # pycodestyle
8080
"F", # pyflakes
8181
"B", # flake8-bugbear
@@ -85,18 +85,18 @@ select = [
8585
"UP", # pyupgrade (upgrade syntax to current syntax)
8686
"PLE", # Pylint error https://github.com/charliermarsh/ruff#error-ple
8787
]
88-
ignore = [
88+
lint.ignore = [
8989
"D100", "D101", "D104", "D105", "D106", "D107", "D203", "D213", "D413"
9090
] # docstring style
9191

9292
line-length = 88
9393
exclude = ["docs", "build", "examples"]
9494
# Allow unused variables when underscore-prefixed.
95-
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
95+
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
9696
target-version = "py310"
9797

9898
[tool.ruff.per-file-ignores]
9999
"tests/**" = ["D"]
100100

101-
[tool.ruff.pydocstyle]
101+
[tool.ruff.lint.pydocstyle]
102102
convention = "numpy"

0 commit comments

Comments
 (0)