Skip to content

Commit

Permalink
update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Mar 29, 2024
1 parent 64abe50 commit 11e882b
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 54 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args: ["--py37-plus"]
Expand All @@ -14,11 +14,11 @@ repos:
args: ["--application-directories", "src:tests"]
additional_dependencies: ["setuptools>60.9"]
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear]
Expand Down
4 changes: 2 additions & 2 deletions requirements/build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#
# pip-compile-multi
#
build==0.10.0
build==1.2.1
# via -r requirements/build.in
packaging==23.1
packaging==24.0
# via build
pyproject-hooks==1.0.0
# via build
36 changes: 19 additions & 17 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,55 +8,57 @@
-r docs.txt
-r tests.txt
-r typing.txt
build==0.10.0
build==1.2.1
# via pip-tools
cachetools==5.3.1
cachetools==5.3.3
# via tox
cfgv==3.3.1
cfgv==3.4.0
# via pre-commit
chardet==5.1.0
chardet==5.2.0
# via tox
click==8.1.3
click==8.1.7
# via
# pip-compile-multi
# pip-tools
colorama==0.4.6
# via tox
distlib==0.3.6
distlib==0.3.8
# via virtualenv
filelock==3.12.2
filelock==3.13.3
# via
# tox
# virtualenv
identify==2.5.24
identify==2.5.35
# via pre-commit
nodeenv==1.8.0
# via pre-commit
pip-compile-multi==2.6.3
# via -r requirements/dev.in
pip-tools==6.13.0
pip-tools==7.4.1
# via pip-compile-multi
platformdirs==3.8.0
platformdirs==4.2.0
# via
# tox
# virtualenv
pre-commit==3.3.3
pre-commit==3.7.0
# via -r requirements/dev.in
pyproject-api==1.5.2
pyproject-api==1.6.1
# via tox
pyproject-hooks==1.0.0
# via build
pyyaml==6.0
# via
# build
# pip-tools
pyyaml==6.0.1
# via pre-commit
toposort==1.10
# via pip-compile-multi
tox==4.6.3
tox==4.14.2
# via -r requirements/dev.in
virtualenv==20.23.1
virtualenv==20.25.1
# via
# pre-commit
# tox
wheel==0.40.0
wheel==0.43.0
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
Expand Down
34 changes: 17 additions & 17 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,57 +5,57 @@
#
# pip-compile-multi
#
alabaster==0.7.13
alabaster==0.7.16
# via sphinx
babel==2.12.1
babel==2.14.0
# via sphinx
certifi==2023.5.7
certifi==2024.2.2
# via requests
charset-normalizer==3.1.0
charset-normalizer==3.3.2
# via requests
docutils==0.20.1
# via sphinx
idna==3.4
idna==3.6
# via requests
imagesize==1.4.1
# via sphinx
jinja2==3.1.2
jinja2==3.1.3
# via sphinx
markupsafe==2.1.3
markupsafe==2.1.5
# via jinja2
packaging==23.1
packaging==24.0
# via
# pallets-sphinx-themes
# sphinx
pallets-sphinx-themes==2.1.1
# via -r requirements/docs.in
pygments==2.15.1
pygments==2.17.2
# via sphinx
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==7.0.1
sphinx==7.2.6
# via
# -r requirements/docs.in
# pallets-sphinx-themes
# sphinx-issues
# sphinxcontrib-log-cabinet
sphinx-issues==3.0.1
sphinx-issues==4.0.0
# via -r requirements/docs.in
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-applehelp==1.0.8
# via sphinx
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-devhelp==1.0.6
# via sphinx
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-htmlhelp==2.0.5
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-log-cabinet==1.0.1
# via -r requirements/docs.in
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-qthelp==1.0.7
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-serializinghtml==1.1.10
# via sphinx
urllib3==2.0.3
urllib3==2.2.1
# via requests
10 changes: 5 additions & 5 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
#
# pip-compile-multi
#
freezegun==1.2.2
freezegun==1.4.0
# via -r requirements/tests.in
iniconfig==2.0.0
# via pytest
packaging==23.1
packaging==24.0
# via pytest
pluggy==1.2.0
pluggy==1.4.0
# via pytest
pytest==7.4.0
pytest==8.1.1
# via -r requirements/tests.in
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via freezegun
six==1.16.0
# via python-dateutil
4 changes: 2 additions & 2 deletions requirements/typing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#
# pip-compile-multi
#
mypy==1.4.1
mypy==1.9.0
# via -r requirements/typing.in
mypy-extensions==1.0.0
# via mypy
typing-extensions==4.6.3
typing-extensions==4.10.0
# via mypy
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ ignore =
E203
# line length, handled by bugbear B950
E501
# multiple statements on one line, conflicts with @overload def: ...
E704
# bare except, handled by bugbear B001
E722
# bin op line break, invalid
Expand Down
6 changes: 2 additions & 4 deletions src/itsdangerous/timed.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,15 @@ def unsign( # type: ignore
signed_value: _t_str_bytes,
max_age: _t_opt_int = None,
return_timestamp: "_te.Literal[False]" = False,
) -> bytes:
...
) -> bytes: ...

@typing.overload
def unsign(
self,
signed_value: _t_str_bytes,
max_age: _t_opt_int = None,
return_timestamp: "_te.Literal[True]" = True,
) -> _t.Tuple[bytes, datetime]:
...
) -> _t.Tuple[bytes, datetime]: ...

def unsign(
self,
Expand Down
6 changes: 2 additions & 4 deletions tests/test_itsdangerous/test_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@


@overload
def coerce_str(ref: str, s: str) -> str:
...
def coerce_str(ref: str, s: str) -> str: ...


@overload
def coerce_str(ref: bytes, s: str) -> bytes:
...
def coerce_str(ref: bytes, s: str) -> bytes: ...


def coerce_str(ref: Union[str, bytes], s: str) -> Union[str, bytes]:
Expand Down

0 comments on commit 11e882b

Please sign in to comment.