Skip to content

Commit a465804

Browse files
committed
chore: update ruff rule
1 parent c5912e5 commit a465804

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ruff.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ fixable = [
3434
]
3535
ignore = [
3636
"TD",
37-
'E712', # TrueFalseComparison # sqlalchemy
38-
"E711", # none-comparison # sqlalchemy
3937
"EM101", # raw-string-in-exception
4038
"TRY003", # raise-vanilla-args
4139
"ANN401", # dynamically-typed-expression
@@ -107,3 +105,7 @@ convention = "google"
107105

108106
[lint.flake8-type-checking]
109107
exempt-modules = ["typing", "typing_extensions"]
108+
runtime-evaluated-base-classes = [
109+
"pydantic.BaseModel",
110+
"sqlalchemy.orm.DeclarativeBase",
111+
]

0 commit comments

Comments
 (0)