Skip to content

Commit

Permalink
update pyproject for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg committed Feb 5, 2024
1 parent 4817a48 commit 10115ab
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 @@ -199,6 +199,11 @@ module = 'trogon'
ignore_missing_imports = true

[tool.ruff]
target-version = "py37"
src = ["src"]
exclude = []

[tool.ruff.lint]
select = [
"E", "F", "W", # flake8
"B", "B904", # flake8-bugbear
Expand All @@ -221,11 +226,8 @@ select = [
"YTT", # flake8-2020
]
extend-ignore = ["PLR", "E501"]
target-version = "py37"
typing-modules = ["mapyde._compat.typing"]
src = ["src"]
unfixable = ["T20", "F841"]
exclude = []
isort.required-imports = ["from __future__ import annotations"]

[tool.ruff.per-file-ignores]
Expand Down

0 comments on commit 10115ab

Please sign in to comment.