Skip to content
Snippets Groups Projects
Commit 27d0f929 authored by Moul's avatar Moul
Browse files

[mypy] Add support for mypy v0.910

parent f22bd045
No related branches found
No related tags found
2 merge requests!157v1.0.0rc0: merge dev into master,!151Add support for mypy v0.910
......@@ -49,7 +49,7 @@ type:
extends: .code_changes
stage: checks
script:
- mypy duniterpy tests examples --ignore-missing-imports
- mypy duniterpy tests examples
lint:
extends: .code_changes
......
......@@ -10,7 +10,7 @@ repos:
args: ["--profile", "black"]
exclude: ^docs/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
rev: v0.910
hooks:
- id: mypy
exclude: ^docs/
......
......@@ -38,7 +38,7 @@ mnemonic = "^0.19"
[tool.poetry.dev-dependencies]
black = {version = "^21.4b2", allow-prereleases = true}
mypy = "^0.790"
mypy = "^0.910"
pylint = "^2.7.2"
pre-commit = "^2.12.1"
sphinx = "^3.2.1"
......@@ -52,3 +52,6 @@ src_paths = ["duniterpy", "tests", "examples"]
disable = "C,E0401,R0401,R0801,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613"
enable = "C0121,C0202,C0321"
jobs = 0
[tool.mypy]
ignore_missing_imports = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment