Skip to content

Commit

Permalink
Upgrade codspeed to 3.0.0 (#9595)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 30, 2024
1 parent c5e8609 commit 7d0f980
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 26 deletions.
19 changes: 0 additions & 19 deletions .mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,3 @@ ignore_missing_imports = True

[mypy-gunicorn.*]
ignore_missing_imports = True

# Benchmark configuration is because pytest_codspeed is missing
# a py.typed file. Can be removed once the following PR is merged
# and released:
# https://github.com/CodSpeedHQ/pytest-codspeed/pull/53
[mypy-test_benchmarks_client_request]
disable_error_code =
no-any-unimported,
misc

[mypy-test_benchmarks_cookiejar]
disable_error_code =
no-any-unimported,
misc

[mypy-test_benchmarks_http_websocket]
disable_error_code =
no-any-unimported,
misc
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ pytest==8.1.1
# pytest-codspeed
# pytest-cov
# pytest-mock
pytest-codspeed==2.2.1
pytest-codspeed==3.0.0
# via
# -r requirements/lint.in
# -r requirements/test.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pytest==8.1.1
# pytest-codspeed
# pytest-cov
# pytest-mock
pytest-codspeed==2.2.1
pytest-codspeed==3.0.0
# via
# -r requirements/lint.in
# -r requirements/test.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pytest==8.1.1
# -r requirements/lint.in
# pytest-codspeed
# pytest-mock
pytest-codspeed==2.2.1
pytest-codspeed==3.0.0
# via -r requirements/lint.in
pytest-mock==3.14.0
# via -r requirements/lint.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pytest==8.1.1
# pytest-codspeed
# pytest-cov
# pytest-mock
pytest-codspeed==2.2.1
pytest-codspeed==3.0.0
# via -r requirements/test.in
pytest-cov==5.0.0
# via -r requirements/test.in
Expand Down
2 changes: 1 addition & 1 deletion tests/test_benchmarks_client_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import asyncio
from http.cookies import Morsel

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

from aiohttp.client_reqrep import ClientRequest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_benchmarks_cookiejar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from http.cookies import BaseCookie

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

from aiohttp.cookiejar import CookieJar
Expand Down
2 changes: 1 addition & 1 deletion tests/test_benchmarks_http_websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import asyncio

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

from aiohttp import DataQueue
from aiohttp.base_protocol import BaseProtocol
Expand Down

0 comments on commit 7d0f980

Please sign in to comment.