Move linting to pre-commit (#11975)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -15,6 +15,11 @@ build-backend = "setuptools.build_meta"
|
||||
[tool.setuptools_scm]
|
||||
# version_file = "vllm/_version.py" # currently handled by `setup.py:get_version()`
|
||||
|
||||
[tool.yapfignore]
|
||||
ignore_patterns = [
|
||||
"build/**",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
# Allow lines to be as long as 80.
|
||||
line-length = 80
|
||||
@@ -52,6 +57,9 @@ ignore = [
|
||||
"B007",
|
||||
# f-string format
|
||||
"UP032",
|
||||
# Python 3.8 typing
|
||||
"UP006", "UP035",
|
||||
|
||||
]
|
||||
|
||||
[tool.mypy]
|
||||
|
||||
Reference in New Issue
Block a user