Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix missing stub packages for mypy (#2958)

Kian-Meng Ang68968e98d3f5
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 30dabd42a..f86649565 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -41,20 +41,34 @@ repos:
- repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
hooks:
- - id: blacken-docs
+ - id: blacken-docs
additional_dependencies: [black==22.3.0]
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
- additional_dependencies: [flake8-builtins==1.5.3, flake8-bugbear==21.4.3,
- flake8-docstrings==1.6.0, flake8-rst-docstrings==0.2.3,
- flake8-pytest-style==1.5.0, flake8-simplify==0.14.1, flake8-comprehensions>=3.6.1]
+ additional_dependencies:
+ [
+ flake8-bugbear==21.4.3,
+ flake8-builtins==1.5.3,
+ flake8-comprehensions>=3.6.1,
+ flake8-docstrings==1.6.0,
+ flake8-pytest-style==1.5.0,
+ flake8-rst-docstrings==0.2.3,
+ flake8-simplify==0.14.1,
+ ]
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: 'v0.990'
+ rev: v0.990
hooks:
- id: mypy
- additional_dependencies: [types-decorator, types-docutils, types-requests, types-setuptools]
+ additional_dependencies:
+ [
+ types-backports,
+ types-decorator,
+ types-docutils,
+ types-requests,
+ types-setuptools,
+ ]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2