This commit is contained in:
Emil Stenström 2023-02-09 22:15:51 +01:00
commit 47af3151e2
3 changed files with 14 additions and 13 deletions

View file

@ -1,10 +1,10 @@
repos:
- repo: https://github.com/pycqa/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8

View file

@ -292,7 +292,8 @@ def do_component_block(parser, token):
def slot_tokens(parser):
"""Yield each 'slot' token appearing before the next 'endcomponent_block' token.
Raises TemplateSyntaxError if there are other content tokens or if there is no endcomponent_block token."""
Raises TemplateSyntaxError if there are other content tokens or if there is no endcomponent_block token.
"""
def is_whitespace(token):
return (

View file

@ -8,7 +8,7 @@ asgiref==3.6.0
# via django
attrs==22.2.0
# via pytest
cachetools==5.2.0
cachetools==5.3.0
# via tox
cfgv==3.3.1
# via pre-commit
@ -18,9 +18,9 @@ colorama==0.4.6
# via tox
distlib==0.3.6
# via virtualenv
django==4.1.5
django==4.1.6
# via -r requirements-dev.in
filelock==3.8.2
filelock==3.9.0
# via
# tox
# virtualenv
@ -30,18 +30,18 @@ identify==2.5.11
# via pre-commit
iniconfig==1.1.1
# via pytest
isort==5.11.4
isort==5.12.0
# via -r requirements-dev.in
mccabe==0.7.0
# via flake8
nodeenv==1.7.0
# via pre-commit
packaging==22.0
packaging==23.0
# via
# pyproject-api
# pytest
# tox
platformdirs==2.6.0
platformdirs==2.6.2
# via
# tox
# virtualenv
@ -49,21 +49,21 @@ pluggy==1.0.0
# via
# pytest
# tox
pre-commit==2.21.0
pre-commit==3.0.4
# via -r requirements-dev.in
pycodestyle==2.10.0
# via flake8
pyflakes==3.0.1
# via flake8
pyproject-api==1.2.1
pyproject-api==1.5.0
# via tox
pytest==7.2.0
pytest==7.2.1
# via -r requirements-dev.in
pyyaml==6.0
# via pre-commit
sqlparse==0.4.3
# via django
tox==4.1.1
tox==4.4.4
# via -r requirements-dev.in
virtualenv==20.17.1
# via