forked from NVIDIA/apex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
25 lines (24 loc) · 960 Bytes
/
pyproject.toml
File metadata and controls
25 lines (24 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[build-system]
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 100
ignore = [
# Sorted by occurrence count (ascending) - easier to fix first
"E731", # lambda assignment (6 occurrences)
"E721", # type comparison should use isinstance (8 occurrences)
"E741", # ambiguous variable name (8 occurrences)
"E712", # comparison to True/False (9 occurrences)
"F403", # star imports used (9 occurrences)
"E701", # multiple statements on one line (10 occurrences)
"E711", # comparison to None should be `cond is None` (11 occurrences)
"F821", # undefined name (14 occurrences)
"E722", # bare except (15 occurrences)
"E402", # module level import not at top of file (41 occurrences)
"F401", # imported but unused (45 occurrences)
"F841", # local variable assigned but never used (52 occurrences)
"F405", # star imports (80 occurrences)
]