Spaces:
Runtime error
Runtime error
Quentin Gallouédec
commited on
Commit
•
7389c2f
1
Parent(s):
76e0bcf
update amke file
Browse files- Makefile +6 -6
- pyproject.toml +3 -1
Makefile
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
|
3 |
|
4 |
style:
|
5 |
-
python -m black --line-length 119
|
6 |
-
python -m isort
|
7 |
-
ruff check --fix
|
8 |
|
9 |
|
10 |
quality:
|
11 |
-
python -m black --check --line-length 119
|
12 |
-
python -m isort --check-only
|
13 |
-
ruff check
|
|
|
2 |
|
3 |
|
4 |
style:
|
5 |
+
python -m black --line-length 119 src app.py
|
6 |
+
python -m isort src app.py
|
7 |
+
ruff check --fix src app.py
|
8 |
|
9 |
|
10 |
quality:
|
11 |
+
python -m black --check --line-length 119 src app.py
|
12 |
+
python -m isort --check-only src app.py
|
13 |
+
ruff check src app.py
|
pyproject.toml
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
[tool.ruff]
|
|
|
|
|
|
|
2 |
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
|
3 |
select = ["E", "F"]
|
4 |
ignore = ["E501"] # line too long (black is taking care of this)
|
5 |
-
line-length = 119
|
6 |
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"]
|
7 |
|
8 |
[tool.isort]
|
|
|
1 |
[tool.ruff]
|
2 |
+
line-length = 119
|
3 |
+
|
4 |
+
[tool.ruff.lint]
|
5 |
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
|
6 |
select = ["E", "F"]
|
7 |
ignore = ["E501"] # line too long (black is taking care of this)
|
|
|
8 |
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"]
|
9 |
|
10 |
[tool.isort]
|