Parcourir la source

Update mypy to 0.790, and move dependencies to extras (#8583)

tags/v1.22.0rc1
Jonathan de Jong il y a 3 ans
committed by GitHub
Parent
révision
84c0e46cce
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
3 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. +1
    -0
      changelog.d/8583.misc
  2. +2
    -0
      setup.py
  3. +1
    -3
      tox.ini

+ 1
- 0
changelog.d/8583.misc Voir le fichier

@@ -0,0 +1 @@
Update `mypy` static type checker to 0.790.

+ 2
- 0
setup.py Voir le fichier

@@ -102,6 +102,8 @@ CONDITIONAL_REQUIREMENTS["lint"] = [
"flake8",
]

CONDITIONAL_REQUIREMENTS["mypy"] = ["mypy==0.790", "mypy-zope"]

# Dependencies which are exclusively required by unit test code. This is
# NOT a list of all modules that are necessary to run the unit tests.
# Tests assume that all optional dependencies are installed.


+ 1
- 3
tox.ini Voir le fichier

@@ -160,9 +160,7 @@ commands=
[testenv:mypy]
deps =
{[base]deps}
mypy==0.782
mypy-zope
extras = all
extras = all,mypy
commands = mypy

# To find all folders that pass mypy you run:


Chargement…
Annuler
Enregistrer