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 =
|
||||
# Pin a specific version so we get consistent outcomes; update this
|
||||
# occasionally:
|
||||
ruff == 0.0.278
|
||||
ruff == 0.0.287
|
||||
# towncrier doesn't work with importlib_resources 6.0.0
|
||||
# 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
|
||||
towncrier
|
||||
# On macOS, git inside of towncrier needs $HOME.
|
||||
|
@ -125,7 +126,7 @@ commands =
|
|||
[testenv:typechecks]
|
||||
basepython = python3
|
||||
deps =
|
||||
mypy==1.4.1
|
||||
mypy==1.5.1
|
||||
mypy-zope
|
||||
types-mock
|
||||
types-six
|
||||
|
@ -134,7 +135,7 @@ deps =
|
|||
types-pyOpenSSL
|
||||
foolscap
|
||||
# Upgrade when new releases come out:
|
||||
Twisted==22.10.0
|
||||
Twisted==23.8.0
|
||||
commands = mypy src
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue