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