Skip to content

Commit

Permalink
updated ruff settings
Browse files Browse the repository at this point in the history
  • Loading branch information
florianjoerg committed Feb 13, 2023
1 parent ab5957e commit c8e26a2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ select = [
# flake8-2020
"YTT",
# flake8-annotations
"ANN",
# "ANN",
# flake8-bugbear
"B",
# flake8-builtins
Expand All @@ -63,7 +63,7 @@ select = [
# flake8-simplyfy
# "SIM",
# pylint
"PLE", "PLR", "PLW",
# "PLE", "PLR", "PLW",
]


Expand Down Expand Up @@ -121,7 +121,6 @@ exclude = [
"node_modules",
"venv",
]
per-file-ignores = {}

# Same as Black.
line-length = 88
Expand All @@ -132,6 +131,9 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.11.
target-version = "py39"

[tool.ruff.per-file-ignores]
"protex/tests/*" = ["D103", "D100"] # docstring for function

[tool.ruff.pydocstyle]
convention = "numpy" # Accepts: "google", "numpy", or "pep257".

Expand Down

0 comments on commit c8e26a2

Please sign in to comment.