Skip to content

Commit

Permalink
update pyproject.toml for numpy 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rkingsbury committed Jun 20, 2024
1 parent 5bb459c commit 6756076
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 @@ -102,6 +102,9 @@ line-length = 120

[tool.ruff]
line-length = 120
src = ["src"]

[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
Expand Down Expand Up @@ -132,6 +135,7 @@ select = [
"UP", # pyupgrade
"W", # pycodestyle warning
"YTT", # flake8-2020
"NPY201", #numpy 2.0
]
ignore = [
"B023", # Function definition does not bind loop variable
Expand All @@ -155,10 +159,8 @@ ignore = [
]
pydocstyle.convention = "google"
isort.split-on-trailing-comma = false
src = ["src"]


[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tasks.py" = ["D"]
"tests/*" = ["D"]
Expand Down

0 comments on commit 6756076

Please sign in to comment.