Merge pull request #1332 from tahoe-lafs/4062-upgrades

Upgrade type and code check tools

Fixes ticket:4062
This commit is contained in:
Itamar Turner-Trauring 2023-09-08 10:10:13 -04:00 committed by GitHub
commit 146420248f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

0
newsfragments/4062.minor Normal file
View File

View File

@ -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