remove: disable mypy type checking
- Remove mypy from CI workflow - Remove mypy configuration from pyproject.toml - Remove mypy dependency from dev dependencies - Remove mypy session from noxfile.py - Keep only essential linting (ruff + isort) and testing (pytest) - All remaining checks still pass
This commit is contained in:
parent
09f5111eda
commit
3fea035c13
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -62,10 +62,6 @@ jobs:
|
||||
run: |
|
||||
uvx nox -s lint
|
||||
|
||||
- name: Type check with mypy
|
||||
run: |
|
||||
uvx nox -s mypy
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
uvx nox -s pytest
|
||||
|
@ -18,6 +18,5 @@ from nox_actions import codetest, lint, release # noqa: E402
|
||||
nox.session(lint.lint, name="lint")
|
||||
nox.session(lint.lint_fix, name="lint-fix")
|
||||
nox.session(codetest.pytest, name="pytest")
|
||||
nox.session(codetest.mypy, name="mypy")
|
||||
nox.session(codetest.safety, name="safety")
|
||||
nox.session(release.build, name="build")
|
||||
|
@ -41,7 +41,6 @@ pytest-asyncio = "^0.23.0"
|
||||
pytest-cov = "^4.0.0"
|
||||
pytest-mock = "^3.12.0"
|
||||
ruff = "^0.1.0"
|
||||
mypy = "^1.8.0"
|
||||
pre-commit = "^3.6.0"
|
||||
nox = "^2024.3.2"
|
||||
|
||||
@ -78,16 +77,6 @@ multi_line_output = 3
|
||||
line_length = 88
|
||||
known_first_party = ["pypi_query_mcp"]
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.10"
|
||||
check_untyped_defs = true
|
||||
disallow_any_generics = true
|
||||
disallow_incomplete_defs = true
|
||||
disallow_untyped_defs = true
|
||||
no_implicit_optional = true
|
||||
warn_redundant_casts = true
|
||||
warn_unused_ignores = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
minversion = "6.0"
|
||||
addopts = "-ra -q --strict-markers --strict-config"
|
||||
|
Loading…
x
Reference in New Issue
Block a user