Skip to content

Commit

Permalink
Merge pull request #135 from ecmwf-projects/ruff-lint
Browse files Browse the repository at this point in the history
use ruff.lint
  • Loading branch information
malmans2 authored Feb 5, 2024
2 parents 1250862 + a912454 commit da39a50
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ branch = true
strict = {{ cookiecutter.mypy_strict | string | lower }}

[tool.ruff]
# Same as Black.
indent-width = 4
line-length = 88

[tool.ruff.lint]
ignore = [
# pydocstyle: Missing Docstrings
"D1"
]
# Same as Black.
indent-width = 4
line-length = 88
select = [
# pyflakes
"F",
Expand All @@ -47,7 +49,7 @@ select = [
[tool.ruff.lint.pycodestyle]
max-line-length = 110

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

[tool.setuptools]
Expand Down

0 comments on commit da39a50

Please sign in to comment.