More modern pylint and flake8 and friends.

This commit is contained in:
Itamar Turner-Trauring 2023-03-24 11:38:22 -04:00
parent 1f29d5a23a
commit ce6b7aeb82
2 changed files with 4 additions and 5 deletions

View File

@ -400,7 +400,7 @@ setup(name="tahoe-lafs", # also set in __init__.py
# disagreeing on what is or is not a lint issue. We can bump
# this version from time to time, but we will do it
# intentionally.
"pyflakes == 2.2.0",
"pyflakes == 3.0.1",
"coverage ~= 5.0",
"mock",
"tox ~= 3.0",

View File

@ -100,10 +100,9 @@ commands =
[testenv:codechecks]
basepython = python3
deps =
# Newer versions of PyLint have buggy configuration
# (https://github.com/PyCQA/pylint/issues/4574), so stick to old version
# for now.
pylint < 2.5
# Make sure we get a version of PyLint that respects config, and isn't too
# old.
pylint < 2.18, >2.14
# On macOS, git inside of towncrier needs $HOME.
passenv = HOME
setenv =