Skip to content

Commit

Permalink
fix pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley committed Sep 24, 2024
1 parent b318ace commit cfe6fdc
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ local_scheme = "dirty-tag"

[tool.ruff]
line-length = 79
target-version = ["py310", "py311", "py312"]
target-version = ">=3.10"

[tool.ruff.lint]
select = [
# pyflakes
"F",
Expand All @@ -65,16 +67,16 @@ select = [
]
ignore = ["B904", "F403", "F405"]

[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["cf_units"]

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
max-complexity = 22

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "numpy"

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
# Allow the longer comment lines that the generated code produces.
"cf_units/_udunits2_parser/parser/*.py" = ["E501"]

Expand Down

0 comments on commit cfe6fdc

Please sign in to comment.