Merge pull request #1332 from tahoe-lafs/4062-upgrades
Upgrade type and code check tools Fixes ticket:4062
This commit is contained in:
commit
146420248f
7
tox.ini
7
tox.ini
|
@ -99,9 +99,10 @@ skip_install = true
|
||||||
deps =
|
deps =
|
||||||
# Pin a specific version so we get consistent outcomes; update this
|
# Pin a specific version so we get consistent outcomes; update this
|
||||||
# occasionally:
|
# occasionally:
|
||||||
ruff == 0.0.278
|
ruff == 0.0.287
|
||||||
# towncrier doesn't work with importlib_resources 6.0.0
|
# towncrier doesn't work with importlib_resources 6.0.0
|
||||||
# https://github.com/twisted/towncrier/issues/528
|
# https://github.com/twisted/towncrier/issues/528
|
||||||
|
# Will be fixed in first version of Towncrier that is larger than 2023.6.
|
||||||
importlib_resources < 6.0.0
|
importlib_resources < 6.0.0
|
||||||
towncrier
|
towncrier
|
||||||
# On macOS, git inside of towncrier needs $HOME.
|
# On macOS, git inside of towncrier needs $HOME.
|
||||||
|
@ -125,7 +126,7 @@ commands =
|
||||||
[testenv:typechecks]
|
[testenv:typechecks]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
mypy==1.4.1
|
mypy==1.5.1
|
||||||
mypy-zope
|
mypy-zope
|
||||||
types-mock
|
types-mock
|
||||||
types-six
|
types-six
|
||||||
|
@ -134,7 +135,7 @@ deps =
|
||||||
types-pyOpenSSL
|
types-pyOpenSSL
|
||||||
foolscap
|
foolscap
|
||||||
# Upgrade when new releases come out:
|
# Upgrade when new releases come out:
|
||||||
Twisted==22.10.0
|
Twisted==23.8.0
|
||||||
commands = mypy src
|
commands = mypy src
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue