mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +00:00
Remove pylint, replacing with faster alternative.
This commit is contained in:
parent
48a8c5deea
commit
cda97e4fa6
11
tox.ini
11
tox.ini
@ -100,9 +100,7 @@ commands =
|
||||
[testenv:codechecks]
|
||||
basepython = python3
|
||||
deps =
|
||||
# Make sure we get a version of PyLint that respects config, and isn't too
|
||||
# old.
|
||||
pylint < 2.18, >2.14
|
||||
ruff
|
||||
# On macOS, git inside of towncrier needs $HOME.
|
||||
passenv = HOME
|
||||
setenv =
|
||||
@ -114,9 +112,10 @@ commands =
|
||||
python misc/coding_tools/check-umids.py {posargs:{env:DEFAULT_FILES}}
|
||||
python misc/coding_tools/check-debugging.py {posargs:{env:DEFAULT_FILES}}
|
||||
python misc/coding_tools/find-trailing-spaces.py -r {posargs:{env:DEFAULT_FILES}}
|
||||
# PyLint has other useful checks, might want to enable them:
|
||||
# http://pylint.pycqa.org/en/latest/technical_reference/features.html
|
||||
pylint --disable=all --enable=cell-var-from-loop {posargs:{env:DEFAULT_FILES}}
|
||||
# B023: Find loop variables that aren't bound in a loop, equivalent of pylint
|
||||
# cell-var-from-loop.
|
||||
# ruff could probably replace flake8 and perhaps above tools as well...
|
||||
ruff check --select=B023 {posargs:{env:DEFAULT_FILES}}
|
||||
|
||||
# If towncrier.check fails, you forgot to add a towncrier news
|
||||
# fragment explaining the change in this branch. Create one at
|
||||
|
Loading…
Reference in New Issue
Block a user