Skip to content

Commit

Permalink
Fix Ruff settings
Browse files Browse the repository at this point in the history
  • Loading branch information
goodmami committed Sep 10, 2024
1 parent ed34625 commit e9ed685
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ dependencies = [
]
[tool.hatch.envs.dev.scripts]
test = "pytest {args:.}"
lint = "ruff {args:delphin/}"
lint = "ruff check {args:delphin/}"
typecheck = "mypy --namespace-packages --explicit-package-bases --ignore-missing-imports --disable-error-code=method-assign {args:delphin/}"

[tool.hatch.envs.docs]
Expand All @@ -90,6 +90,8 @@ clean = "make -C docs clean"
[tool.ruff]
target-version = "py38"
line-length = 79

[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle errors
Expand Down

0 comments on commit e9ed685

Please sign in to comment.