mirror of
https://github.com/django-components/django-components.git
synced 2025-09-26 15:39:08 +00:00
Merge pull request #223 from EmilStenstrom/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
commit
de14a940ec
2 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@ repos:
|
|||
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
|
||||
|
|
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue