diff --git a/.mypy.ini b/.mypy.ini index 95b4b174..05897392 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -82,11 +82,6 @@ disable_error_code = [mypy-test_multidict] disable_error_code = call-arg -[mypy-test_multidict_benchmarks] -disable_error_code = - no-any-unimported, - misc, - [mypy-test_mutable_multidict] disable_error_code = arg-type, diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ab162d4..fdba1c8b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -114,7 +114,7 @@ repos: - types-docutils - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` - pytest - - pytest_codspeed + - pytest_codspeed==3.0.0 - Sphinx >= 5.3.0 args: - --python-version=3.13 @@ -129,7 +129,7 @@ repos: - types-docutils - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` - pytest - - pytest_codspeed + - pytest_codspeed==3.0.0 - Sphinx >= 5.3.0 args: - --python-version=3.11 @@ -144,7 +144,7 @@ repos: - types-docutils - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` - pytest - - pytest_codspeed + - pytest_codspeed==3.0.0 - Sphinx >= 5.3.0 args: - --python-version=3.9 @@ -159,7 +159,7 @@ repos: - types-docutils - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` - pytest - - pytest_codspeed + - pytest_codspeed==3.0.0 - Sphinx >= 5.3.0 args: - --python-version=3.8 diff --git a/requirements/pytest.txt b/requirements/pytest.txt index 6a3e2545..844237d7 100644 --- a/requirements/pytest.txt +++ b/requirements/pytest.txt @@ -1,3 +1,3 @@ pytest==8.3.3 -pytest-codspeed==2.2.1 +pytest-codspeed==3.0.0 pytest-cov==5.0.0 \ No newline at end of file diff --git a/tests/test_multidict_benchmarks.py b/tests/test_multidict_benchmarks.py index 056b8c3f..e6a538f3 100644 --- a/tests/test_multidict_benchmarks.py +++ b/tests/test_multidict_benchmarks.py @@ -2,7 +2,7 @@ from typing import Dict, Union -from pytest_codspeed import BenchmarkFixture # type: ignore[import-untyped] +from pytest_codspeed import BenchmarkFixture from multidict import CIMultiDict, MultiDict, istr