diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c001e47..a28274d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/django_components/templatetags/component_tags.py b/django_components/templatetags/component_tags.py index 9a31a7eb..96fccc3a 100644 --- a/django_components/templatetags/component_tags.py +++ b/django_components/templatetags/component_tags.py @@ -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 ( diff --git a/requirements-dev.txt b/requirements-dev.txt index 54b42d51..3960d9a2 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -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