style(types): use new bracex static typing support (#887)

* style(types): use new bracex static typing support

* style(types): add a bit more basic typing

* style(types): globally ignore ghapi

* style(types): include a bit more in the global ignores

* fix(types): line invalid on Python 3.6

* fix: require typing_extensions 3.10
This commit is contained in:
Henry Schreiner
2021-10-26 15:56:35 -04:00
committed by GitHub
parent 2f4987fab9
commit 603a7b5bde
7 changed files with 21 additions and 20 deletions
+3 -4
View File
@@ -32,7 +32,8 @@ files = [
"cibuildwheel/*.py",
"test/**/*.py",
"unit_test/**/*.py",
"bin/*.py"
"bin/*.py",
"noxfile.py",
]
warn_unused_configs = true
warn_redundant_casts = true
@@ -58,10 +59,8 @@ module = [
"setuptools",
"pytest", # ignored in pre-commit to speed up check
"bashlex",
"bracex",
"importlib_resources",
"nox",
"github",
"ghapi.*",
]
ignore_missing_imports = true