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: repos:
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 5.11.4 rev: 5.12.0
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.12.0 rev: 23.1.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pycqa/flake8 - repo: https://github.com/pycqa/flake8

View file

@ -292,7 +292,8 @@ def do_component_block(parser, token):
def slot_tokens(parser): def slot_tokens(parser):
"""Yield each 'slot' token appearing before the next 'endcomponent_block' token. """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): def is_whitespace(token):
return ( return (

View file

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