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:
|
||||
- id: isort
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.12.1
|
||||
rev: 24.1.1
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
|
|
|
@ -225,9 +225,9 @@ class Component(View, metaclass=SimplifiedInterfaceMediaDefiningClass):
|
|||
f"To fix, check template '{template.name}' "
|
||||
f"of component '{self.registered_name}'."
|
||||
)
|
||||
content_data: Optional[
|
||||
FillContent
|
||||
] = None # `None` -> unfilled
|
||||
content_data: Optional[FillContent] = (
|
||||
None # `None` -> unfilled
|
||||
)
|
||||
if node.is_required:
|
||||
required_slot_names.add(node.name)
|
||||
if node.is_default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue