Skip to content

Commit

Permalink
chore: reconfigure ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Oct 21, 2024
1 parent 6feb6c4 commit 02621b2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ignore = [
"D417",
"DJ008",
"DOC201",
"DOC402",
"DOC501",
"FURB180",
"ISC001",
Expand All @@ -53,18 +54,24 @@ ignore = [
"TCH001",
"TCH002",
"TCH003",
"TD002",
"TD003",
"TID252",
"TRY400",
]
select = ["ALL"]
unfixable = ["T"]
unfixable = ["RUF027", "T"]

[lint.per-file-ignores]
"tests/*" = ["FBT001", "S101"]

[lint.flake8-self]
ignore-names = ["_name_", "_value_"]

[lint.flake8-type-checking]
exempt-modules = []
strict = true

[lint.isort]
combine-as-imports = true
required-imports = ["from __future__ import annotations"]
Expand Down

0 comments on commit 02621b2

Please sign in to comment.