From a3b6752d43585b25f60399054dbf09ee23dd4a08 Mon Sep 17 00:00:00 2001 From: Sebastian Simon Date: Thu, 26 Sep 2024 09:59:45 +0200 Subject: [PATCH] Remove mypy --- .flake8 | 2 +- .github/workflows/linter.yml | 3 --- Makefile | 3 --- pyproject.toml | 4 ++-- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.flake8 b/.flake8 index 364aa183..5f69e28f 100644 --- a/.flake8 +++ b/.flake8 @@ -2,4 +2,4 @@ max-line-length = 79 max-complexity = 18 select = B,C,E,F,W,T4,B9 -ignore=E501,E203,W503 +ignore=E501,E203,W503,W293 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 435d5a5b..059d1220 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -28,6 +28,3 @@ jobs: - name: Run linters run: make linter - - - name: Run Mypy - run: make mypy diff --git a/Makefile b/Makefile index 57974ef2..950d09f3 100644 --- a/Makefile +++ b/Makefile @@ -39,9 +39,6 @@ linter: poetry.lock poetry run flake8 $(SOURCE_FOLDERS) poetry run pylint --score=no --extension-pkg-whitelist=lxml,dockerfile src -.PHONY: mypy -mypy: poetry.lock - poetry run mypy --ignore-missing-imports src/ .PHONY: docs docs: $(DOCS) install diff --git a/pyproject.toml b/pyproject.toml index d0cac359..65c4ffce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,8 +24,8 @@ packages = [ ] [tool.poetry.dependencies] -python = '^3.8' -mypy = "^0.910" +python = '>=3.8,<3.12' +mypy = "1.2" lxml = "^4.6.3" GitPython = "^3.1.24" click = "^8.0.3"