Skip to content

Commit

Permalink
Reconfigure ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Jul 9, 2024
1 parent c9778cf commit 3beff68
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 @@ -35,13 +35,15 @@ ignore = [
"PLR0915",
"PLR0916",
"PLR0917",
"PLR1702",
"RUF001",
"RUF002",
"RUF003",
"S110",
"S112",
"S308",
"S311",
"S404",
"SIM105",
"TCH001",
"TCH002",
Expand All @@ -50,12 +52,17 @@ ignore = [
"TRY400",
]
select = ["ALL"]
unfixable = ["T"]

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

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

[lint.flake8-type-checking]
runtime-evaluated-base-classes = ["pydantic.BaseModel", "pydantic.RootModel"]
runtime-evaluated-decorators = ["pydantic.validate_call"]

[lint.isort]
combine-as-imports = true
Expand Down

0 comments on commit 3beff68

Please sign in to comment.