ruff checks the max line length is 150 (#2734)

* ruff checks the max line length is 150

* fix tensor.py

* a lot more

* done
This commit is contained in:
George Hotz
2023-12-12 17:34:47 -08:00
committed by GitHub
parent 3635540ddb
commit 6d6eb9302d
59 changed files with 438 additions and 324 deletions

View File

@@ -12,6 +12,7 @@ select = [
"E272",
# "E303",
# "E304",
"E501",
# "E502",
"E702",
"E703",
@@ -22,6 +23,8 @@ select = [
"UP039", # unnecessary-class-parentheses
]
line-length = 150
exclude = [
"disassemblers/",
"docs/",