Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .ruff.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
line-length = 100

[lint]
ignore = [
"E402", # All module level imports should be at the top of the file. This means that there
# should be no statements in between module level imports
"F405", # Variable may be undefined, or defined from star imports
]
line-length = 100

[lint]
# TODO This is temporary workaround. Ruff 0.16 introduced a ton of new rules, which our code
# does not follow. To avoid a long list of errors that everyone ignores anyway, select only
# the rules that were present in the previous version. That way we still effectively enforce
# following those rules, while giving ourselves some time to gradually expand the rules list.
select = ["E4", "E7", "E9", "F"]
ignore = [
"E402", # All module level imports should be at the top of the file. This means that there
# should be no statements in between module level imports
"F405", # Variable may be undefined, or defined from star imports
]
Loading