Skip to content

Commit

Permalink
Upgrade codspeed to 3.0.0 (#1395)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 30, 2024
1 parent d7f2b83 commit 24f814d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ repos:
- pytest
- tomli # requirement of packaging/pep517_backend/
- types-setuptools # requirement of packaging/pep517_backend/
- pytest_codspeed
- pytest_codspeed==3.0.0
args:
- --python-version=3.13
- --txt-report=.tox/.tmp/.mypy/python-3.13
Expand All @@ -138,7 +138,7 @@ repos:
- pytest
- tomli # requirement of packaging/pep517_backend/
- types-setuptools # requirement of packaging/pep517_backend/
- pytest_codspeed
- pytest_codspeed==3.0.0
args:
- --python-version=3.12
- --txt-report=.tox/.tmp/.mypy/python-3.12
Expand All @@ -158,7 +158,7 @@ repos:
- types-setuptools # requirement of packaging/pep517_backend/
- types-Pygments
- types-colorama
- pytest_codspeed
- pytest_codspeed==3.0.0
args:
- --python-version=3.10
- --txt-report=.tox/.tmp/.mypy/python-3.10
Expand All @@ -178,7 +178,7 @@ repos:
- types-setuptools # requirement of packaging/pep517_backend/
- types-Pygments
- types-colorama
- pytest_codspeed
- pytest_codspeed==3.0.0
args:
- --python-version=3.9
- --txt-report=.tox/.tmp/.mypy/python-3.9
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ idna==3.10
multidict==6.1.0
propcache==0.2.0
pytest==8.3.3
pytest-codspeed==2.2.1
pytest-cov>=2.3.1
pytest-xdist
pytest_codspeed==3.0.0
2 changes: 1 addition & 1 deletion tests/test_quoting_benchmarks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""codspeed benchmark for yarl._quoting module."""

from pytest_codspeed import BenchmarkFixture # type: ignore[import-untyped]
from pytest_codspeed import BenchmarkFixture

from yarl._quoting import _Quoter, _Unquoter

Expand Down
2 changes: 1 addition & 1 deletion tests/test_url_benchmarks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""codspeed benchmarks for yarl.URL."""

from pytest_codspeed import BenchmarkFixture # type: ignore[import-untyped]
from pytest_codspeed import BenchmarkFixture

from yarl import URL

Expand Down

0 comments on commit 24f814d

Please sign in to comment.