Skip to content

Commit e2ca78d

Browse files
authored
[MNT] Suppress warning thrown during ruff check . (#53)
fixes #52 by adding a separate lint section called `[tool.ruff.lint]` for `select` and `ignore`.
1 parent 7fff054 commit e2ca78d

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ dev = [
2626

2727
[tool.ruff]
2828
line-length = 88
29-
ignore = ["N803", "N806"]
30-
target-version = "py310" # Match your `>=3.10` requirement
31-
32-
# Choose what to check for
33-
lint.select = ["E", "F", "B", "I", "UP", "N", "C4"]
34-
29+
target-version = "py310"
3530
exclude = ["__pycache__", ".venv", "build", "dist", ".git"]
3631

32+
[tool.ruff.lint]
33+
select = ["E", "F", "B", "I", "UP", "N", "C4"]
34+
ignore = ["N803", "N806"]
35+
3736
[tool.ruff.format]
3837
quote-style = "double"
3938
line-ending = "lf"

0 commit comments

Comments
 (0)