From 422ea0b4ea6df7c209ddc8f54a9cd0254415e321 Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Tue, 6 Feb 2024 08:30:53 -0600 Subject: [PATCH] consolidate mypy config into pyproject.toml --- .github/workflows/mypy.yml | 4 ++-- mypy.ini | 11 ----------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 mypy.ini diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index a068079..9915a18 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -34,7 +34,7 @@ jobs: pip install types-setuptools mkdir -p .github/linters - cp mypy.ini .github/linters + cp pyproject.toml .github/linters - name: Mypy uses: github/super-linter/slim@v4.9.2 @@ -46,4 +46,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Run only black VALIDATE_PYTHON_MYPY: true - PYTHON_MYPY_CONFIG_FILE: mypy.ini \ No newline at end of file + PYTHON_MYPY_CONFIG_FILE: pyproject.toml \ No newline at end of file diff --git a/mypy.ini b/mypy.ini deleted file mode 100644 index 58427dc..0000000 --- a/mypy.ini +++ /dev/null @@ -1,11 +0,0 @@ -[mypy] -warn_incomplete_stub = true -ignore_missing_imports = true -disallow_untyped_calls = true -disallow_untyped_defs = true -disallow_incomplete_defs = true -check_untyped_defs = true -disallow_untyped_decorators = false -warn_redundant_casts = true -warn_no_return = true -warn_unreachable = true \ No newline at end of file