Skip to content

Commit 8000fbd

Browse files
authored
Bump various test dependencies (#9646)
1 parent 23e3dc9 commit 8000fbd

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
hooks:
3131
- id: flake8
3232
additional_dependencies:
33-
- "flake8-bugbear==23.1.14" # must match requirements-tests.txt
33+
- "flake8-bugbear==23.1.20" # must match requirements-tests.txt
3434
- "flake8-noqa==1.3.0" # must match requirements-tests.txt
3535
- "flake8-pyi==23.1.2" # must match requirements-tests.txt
3636
- repo: https://github.com/pre-commit/mirrors-prettier

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ all = true
6262
disable_all_dunder_policy = true
6363

6464
[tool.typeshed]
65-
pyright_version = "1.1.285"
65+
pyright_version = "1.1.292"

requirements-tests.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
aiohttp==3.8.3
22
black==23.1.0 # must match .pre-commit-config.yaml
33
flake8==6.0.0; python_version >= "3.8" # must match .pre-commit-config.yaml
4-
flake8-bugbear==23.1.14; python_version >= "3.8" # must match .pre-commit-config.yaml
4+
flake8-bugbear==23.1.20; python_version >= "3.8" # must match .pre-commit-config.yaml
55
flake8-noqa==1.3.0; python_version >= "3.8" # must match .pre-commit-config.yaml
66
flake8-pyi==23.1.2; python_version >= "3.8" # must match .pre-commit-config.yaml
77
isort==5.12.0; python_version >= "3.8" # must match .pre-commit-config.yaml
@@ -10,7 +10,7 @@ packaging==23.0
1010
pathspec>=0.10.3
1111
pre-commit-hooks==4.4.0 # must match .pre-commit-config.yaml
1212
pycln==2.1.3 # must match .pre-commit-config.yaml
13-
pytype==2023.1.17; platform_system != "Windows" and python_version < "3.11"
13+
pytype==2023.1.31; platform_system != "Windows" and python_version < "3.11"
1414
pyyaml==6.0
1515
termcolor>=2
1616
tomli==2.0.1

stdlib/builtins.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,6 +2008,7 @@ if sys.version_info >= (3, 11):
20082008
# See `check_exception_group.py` for use-cases and comments.
20092009
class BaseExceptionGroup(BaseException, Generic[_BaseExceptionT_co]):
20102010
def __new__(cls: type[Self], __message: str, __exceptions: Sequence[_BaseExceptionT_co]) -> Self: ...
2011+
def __init__(self, __message: str, __exceptions: Sequence[_BaseExceptionT_co]) -> None: ...
20112012
@property
20122013
def message(self) -> str: ...
20132014
@property
@@ -2045,6 +2046,7 @@ if sys.version_info >= (3, 11):
20452046

20462047
class ExceptionGroup(BaseExceptionGroup[_ExceptionT_co], Exception):
20472048
def __new__(cls: type[Self], __message: str, __exceptions: Sequence[_ExceptionT_co]) -> Self: ...
2049+
def __init__(self, __message: str, __exceptions: Sequence[_ExceptionT_co]) -> None: ...
20482050
@property
20492051
def exceptions(self) -> tuple[_ExceptionT_co | ExceptionGroup[_ExceptionT_co], ...]: ...
20502052
# We accept a narrower type, but that's OK.

0 commit comments

Comments
 (0)