From 307941d38043b0ad75833424c6e55fbc7cc9afbc Mon Sep 17 00:00:00 2001 From: Bobby Noelte Date: Thu, 28 Nov 2024 22:56:11 +0100 Subject: [PATCH] PREVENT MYPY FOR DEVELOPMENT Signed-off-by: Bobby Noelte --- .pre-commit-config.yaml | 8 -------- pyproject.toml | 22 ---------------------- 2 files changed, 30 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b62fb188..c857455d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,11 +24,3 @@ repos: args: [--fix] # Run the formatter. - id: ruff-format - - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.13.0' - hooks: - - id: mypy - additional_dependencies: - - "types-requests==2.32.0.20241016" - - "pandas-stubs==2.2.3.241009" - pass_filenames: false diff --git a/pyproject.toml b/pyproject.toml index ae322624..86f2b9d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,25 +72,3 @@ convention = "google" minversion = "8.3.3" pythonpath = [ "src", ] testpaths = [ "tests", ] - -[tool.mypy] -files = ["src", "tests"] -exclude = "class_soc_calc\\.py$" -check_untyped_defs = true -warn_unused_ignores = true - -[[tool.mypy.overrides]] -module = "akkudoktoreos.*" -disallow_untyped_defs = true - -[[tool.mypy.overrides]] -module = "sklearn.*" -ignore_missing_imports = true - -[[tool.mypy.overrides]] -module = "deap.*" -ignore_missing_imports = true - -[[tool.mypy.overrides]] -module = "xprocess.*" -ignore_missing_imports = true