Merge pull request #371 from EmilStenstrom/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
Emil Stenström 2024-01-29 22:37:56 +01:00 committed by GitHub
commit 4761d6d50f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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: