Переглянути джерело

Tools: fix PyYAML deps for pre-commit hook

Fix 'error: Library stubs not installed for "yaml" (or incompatiblewith Python 3.9)'
Anton Maklakov 3 роки тому
батько
коміт
95da3330c7
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      .pre-commit-config.yaml

+ 1 - 0
.pre-commit-config.yaml

@@ -97,6 +97,7 @@ repos:
           - 'mypy==0.940'
           - 'mypy-extensions==0.4.3'
           - 'types-setuptools==57.4.14'
+          - 'types-PyYAML==0.1.9'
         language: python
         types: [python]
       - id: check-copyright