update dev dependencies

This commit is contained in:
David Lord 2022-10-13 09:08:56 -07:00
parent c436c9f18f
commit 0a10079f33
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
7 changed files with 31 additions and 36 deletions

View File

@ -3,18 +3,18 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
rev: v3.1.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.8.2
rev: v3.8.4
hooks:
- id: reorder-python-imports
args: ["--application-directories", "src"]
additional_dependencies: ["setuptools>60.9"]
- repo: https://github.com/psf/black
rev: 22.8.0
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8

View File

@ -1608,8 +1608,7 @@ The following functions are available in the global scope by default:
.. versionadded:: 2.1
.. method:: current
:property:
.. property:: current
Return the current item. Equivalent to the item that will be
returned next time :meth:`next` is called.

View File

@ -16,41 +16,37 @@ click==8.1.3
# via
# pip-compile-multi
# pip-tools
distlib==0.3.4
distlib==0.3.6
# via virtualenv
filelock==3.7.1
filelock==3.8.0
# via
# tox
# virtualenv
identify==2.5.1
identify==2.5.6
# via pre-commit
nodeenv==1.7.0
# via pre-commit
pep517==0.12.0
pep517==0.13.0
# via build
pip-compile-multi==2.4.5
pip-compile-multi==2.4.6
# via -r requirements/dev.in
pip-tools==6.8.0
pip-tools==6.9.0
# via pip-compile-multi
platformdirs==2.5.2
# via virtualenv
pre-commit==2.19.0
pre-commit==2.20.0
# via -r requirements/dev.in
pyyaml==6.0
# via pre-commit
six==1.16.0
# via
# tox
# virtualenv
# via tox
toml==0.10.2
# via
# pre-commit
# tox
# via pre-commit
toposort==1.7
# via pip-compile-multi
tox==3.25.1
tox==3.26.0
# via -r requirements/dev.in
virtualenv==20.15.1
virtualenv==20.16.5
# via
# pre-commit
# tox

View File

@ -9,13 +9,13 @@ alabaster==0.7.12
# via sphinx
babel==2.10.3
# via sphinx
certifi==2022.6.15
certifi==2022.9.24
# via requests
charset-normalizer==2.1.0
charset-normalizer==2.1.1
# via requests
docutils==0.18.1
docutils==0.19
# via sphinx
idna==3.3
idna==3.4
# via requests
imagesize==1.4.1
# via sphinx
@ -29,17 +29,17 @@ packaging==21.3
# sphinx
pallets-sphinx-themes==2.0.2
# via -r requirements/docs.in
pygments==2.12.0
pygments==2.13.0
# via sphinx
pyparsing==3.0.9
# via packaging
pytz==2022.1
pytz==2022.4
# via babel
requests==2.28.1
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==5.0.2
sphinx==5.2.3
# via
# -r requirements/docs.in
# pallets-sphinx-themes
@ -61,5 +61,5 @@ sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
urllib3==1.26.9
urllib3==1.26.12
# via requests

View File

@ -5,7 +5,7 @@
#
# pip-compile-multi
#
attrs==21.4.0
attrs==22.1.0
# via pytest
iniconfig==1.1.1
# via pytest
@ -17,7 +17,7 @@ py==1.11.0
# via pytest
pyparsing==3.0.9
# via packaging
pytest==7.1.2
pytest==7.1.3
# via -r requirements/tests.in
tomli==2.0.1
# via pytest

View File

@ -5,11 +5,11 @@
#
# pip-compile-multi
#
mypy==0.961
mypy==0.982
# via -r requirements/typing.in
mypy-extensions==0.4.3
# via mypy
tomli==2.0.1
# via mypy
typing-extensions==4.3.0
typing-extensions==4.4.0
# via mypy

View File

@ -1253,7 +1253,7 @@ class Template:
t.blocks = namespace["blocks"]
# render function and module
t.root_render_func = namespace["root"] # type: ignore
t.root_render_func = namespace["root"]
t._module = None
# debug and loader helpers
@ -1349,7 +1349,7 @@ class Template:
ctx = self.new_context(dict(*args, **kwargs))
try:
yield from self.root_render_func(ctx) # type: ignore
yield from self.root_render_func(ctx)
except Exception:
yield self.environment.handle_exception()
@ -1532,7 +1532,7 @@ class TemplateModule:
" API you are using."
)
body_stream = list(template.root_render_func(context)) # type: ignore
body_stream = list(template.root_render_func(context))
self._body_stream = body_stream
self.__dict__.update(context.get_exported())
@ -1564,7 +1564,7 @@ class TemplateExpression:
def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Optional[t.Any]:
context = self._template.new_context(dict(*args, **kwargs))
consume(self._template.root_render_func(context)) # type: ignore
consume(self._template.root_render_func(context))
rv = context.vars["result"]
if self._undefined_to_none and isinstance(rv, Undefined):
rv = None