Karim shoair commited on
Commit ·
2e75271
1
Parent(s): 340a1bc
ops: Update ruff pre-commit rules
Browse files
ruff.toml
CHANGED
|
@@ -10,8 +10,10 @@ exclude = [
|
|
| 10 |
"benchmarks.py",
|
| 11 |
]
|
| 12 |
|
| 13 |
-
# Assume Python 3.
|
| 14 |
-
target-version = "
|
|
|
|
|
|
|
| 15 |
|
| 16 |
[lint]
|
| 17 |
select = ["E", "F", "W"]
|
|
|
|
| 10 |
"benchmarks.py",
|
| 11 |
]
|
| 12 |
|
| 13 |
+
# Assume Python 3.10
|
| 14 |
+
target-version = "py310"
|
| 15 |
+
# Allow lines to be as long as 120.
|
| 16 |
+
line-length = 120
|
| 17 |
|
| 18 |
[lint]
|
| 19 |
select = ["E", "F", "W"]
|