chore: type check install_certifi.py (#2365)
This commit is contained in:
@@ -25,7 +25,6 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
name: mypy 3.11 on cibuildwheel/
|
name: mypy 3.11 on cibuildwheel/
|
||||||
exclude: ^cibuildwheel/resources/.*py$
|
|
||||||
args: ["--python-version=3.11"]
|
args: ["--python-version=3.11"]
|
||||||
additional_dependencies: &mypy-dependencies
|
additional_dependencies: &mypy-dependencies
|
||||||
- bracex
|
- bracex
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ STAT_0o775 = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main() -> None:
|
||||||
openssl_dir, openssl_cafile = os.path.split(ssl.get_default_verify_paths().openssl_cafile)
|
openssl_dir, openssl_cafile = os.path.split(ssl.get_default_verify_paths().openssl_cafile)
|
||||||
print(" -- pip install --upgrade certifi")
|
print(" -- pip install --upgrade certifi")
|
||||||
subprocess.check_call(
|
subprocess.check_call(
|
||||||
|
|||||||
Reference in New Issue
Block a user