fix: include Requires-Python info in printout (#1017)

This commit is contained in:
Henry Schreiner
2022-02-11 10:17:40 -05:00
committed by GitHub
parent b52698dad6
commit bc3106a4d0
2 changed files with 21 additions and 32 deletions
+8 -2
View File
@@ -51,8 +51,9 @@ repos:
rev: v0.931
hooks:
- id: mypy
name: mypy 3.6 on cibuildwheel/
exclude: ^(bin|cibuildwheel/resources|docs)/.*py$
args: ["--python-version=3.6", "--scripts-are-modules", "--show-error-codes"]
args: ["--python-version=3.6", "--show-error-codes"]
additional_dependencies: &mypy-dependencies
- nox
- packaging>=21.0
@@ -66,10 +67,15 @@ repos:
- types-pyyaml
- types-requests
- bracex
- dataclasses
- id: mypy
name: mypy 3.7+ on bin/
files: ^((bin|docs)/.*py)$
args: ["--python-version=3.7", "--scripts-are-modules", "--show-error-codes"]
args: ["--python-version=3.7", "--show-error-codes"]
additional_dependencies: *mypy-dependencies
- id: mypy
name: mypy 3.10
args: ["--python-version=3.10", "--show-error-codes"]
additional_dependencies: *mypy-dependencies
- repo: https://github.com/asottile/yesqa