Files
tinygrad/ruff.toml
Christopher Mauri Milan 7f01dd04f0 Apply ruff linting rules to tests (#2473)
* everything except F821

* enable F821 with noqa

* dumb fix

* fix remaining imports and (former) lambdas

* replace _ with noqa to avoid gc
2023-11-27 21:24:06 -08:00

31 lines
326 B
TOML

indent-width = 2
select = [
"F",
"W6",
"E71",
"E72",
"E112",
"E113",
# "E124",
"E203",
"E272",
# "E303",
# "E304",
# "E502",
"E702",
"E703",
"E731",
"W191",
"UP039", # unnecessary-class-parentheses
]
exclude = [
"disassemblers/",
"docs/",
"examples/",
"extra/",
"openpilot/",
]