From c7d8a7be1185a6e07c0133a54c8defab20e5f457 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:54:24 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/tox-dev/pyproject-fmt: 2.3.0 → 2.4.3](https://github.com/tox-dev/pyproject-fmt/compare/2.3.0...2.4.3) - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.0) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.12.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.12.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a1877ce..a4bb989f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,17 +36,17 @@ repos: ) - repo: https://github.com/tox-dev/pyproject-fmt - rev: 2.3.0 + rev: 2.4.3 hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.7.0 hooks: - id: ruff - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.12.1 hooks: - id: mypy files: nc_py_api/ From a0ae0c27af4c8e7ca19efd4497d90be6d87de6f3 Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Thu, 24 Oct 2024 21:30:15 +0300 Subject: [PATCH 2/2] removed `mypy` checks Signed-off-by: Alexander Piskun --- .pre-commit-config.yaml | 7 ------- pyproject.toml | 8 -------- 2 files changed, 15 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a4bb989f..aa023cb5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,13 +45,6 @@ repos: hooks: - id: ruff -- repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.12.1 - hooks: - - id: mypy - files: nc_py_api/ - additional_dependencies: [pytest] - - repo: local hooks: - id: pylint diff --git a/pyproject.toml b/pyproject.toml index 850c5006..5e34eb32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -248,11 +248,3 @@ exclude_lines = [ "DeprecationWarning", "DEPRECATED", ] - -[tool.mypy] -ignore_missing_imports = false -warn_unreachable = true -warn_no_return = true -strict_optional = true -check_untyped_defs = true -show_error_codes = true