Skip to content
Snippets Groups Projects
Commit 72a5bf25 authored by Moul's avatar Moul
Browse files

[mypy] #163: Introduce mypy pre-commit hook

Install types-tabulate subs:
  - TODO: to be removed once tabulate has been dropped
ignore_missing_imports: Ignore dependencies such as DuniterPy
parent 2fba584e
No related branches found
No related tags found
1 merge request!214#163: Introduce mypy
......@@ -19,6 +19,13 @@ repos:
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.960
hooks:
- id: mypy
args:
- "--install-types"
- "--non-interactive"
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
hooks:
......
......@@ -44,3 +44,6 @@ classifiers = [
[tool.isort]
profile = "black"
src_paths = ["silkaj", "tests"]
[tool.mypy]
ignore_missing_imports = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment