mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
CI: Pylint to ruff (#29294)
* pylint to riff * pylint to riff * pylint to riff * revert more * undo exclude removal * exclude tinygrad * set line length * pylint exclusions to ruff * same excludes as old linter * fix tools QA * remove unrequired check * revert linting third_party * ignore e402 old-commit-hash: 7fdd9fc37c1c5febf1cd3dc86441ebf0dec7f370
This commit is contained in:
+8
-2
@@ -19,7 +19,6 @@ cffi = "*"
|
||||
crcmod = "*"
|
||||
cryptography = "*"
|
||||
Cython = "*"
|
||||
flake8 = "*"
|
||||
Flask = "*"
|
||||
future-fstrings = "*" # for acados
|
||||
gunicorn = "*"
|
||||
@@ -92,7 +91,6 @@ pprofile = "*"
|
||||
pre-commit = "*"
|
||||
pycurl = "*"
|
||||
pygame = "*"
|
||||
pylint = "*"
|
||||
pyprof2calltree = "*"
|
||||
pytest = "*"
|
||||
pytest-xdist = "*"
|
||||
@@ -161,6 +159,7 @@ PyMySQL = "~0.9"
|
||||
pyproj = "*"
|
||||
python-logstash = "*"
|
||||
redis = "*"
|
||||
ruff = "*"
|
||||
s2sphere = "*"
|
||||
scikit-image = "*"
|
||||
scikit-learn = "*"
|
||||
@@ -186,3 +185,10 @@ opencv-python-headless = { url = "https://github.com/commaai/opencv-python-build
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
|
||||
[tool.ruff]
|
||||
select = ["E", "F", "W"]
|
||||
ignore = ["W292", "E741", "E402"]
|
||||
line-length = 160
|
||||
target-version="py311"
|
||||
Reference in New Issue
Block a user