mirror of
https://github.com/django-components/django-components.git
synced 2025-09-27 07:59:08 +00:00
Merge pull request #371 from EmilStenstrom/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
commit
4761d6d50f
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.12.1
|
rev: 24.1.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/pycqa/flake8
|
- repo: https://github.com/pycqa/flake8
|
||||||
|
|
|
@ -225,9 +225,9 @@ class Component(View, metaclass=SimplifiedInterfaceMediaDefiningClass):
|
||||||
f"To fix, check template '{template.name}' "
|
f"To fix, check template '{template.name}' "
|
||||||
f"of component '{self.registered_name}'."
|
f"of component '{self.registered_name}'."
|
||||||
)
|
)
|
||||||
content_data: Optional[
|
content_data: Optional[FillContent] = (
|
||||||
FillContent
|
None # `None` -> unfilled
|
||||||
] = None # `None` -> unfilled
|
)
|
||||||
if node.is_required:
|
if node.is_required:
|
||||||
required_slot_names.add(node.name)
|
required_slot_names.add(node.name)
|
||||||
if node.is_default:
|
if node.is_default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue