diff --git a/.secureli/.pre-commit-config.yaml b/.secureli/.pre-commit-config.yaml index b369b74d..37767dff 100644 --- a/.secureli/.pre-commit-config.yaml +++ b/.secureli/.pre-commit-config.yaml @@ -2,14 +2,14 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.3.0 + rev: 24.4.0 hooks: - id: black - repo: https://github.com/yelp/detect-secrets diff --git a/secureli/repositories/repo_settings.py b/secureli/repositories/repo_settings.py index 45075ea1..660f6b21 100644 --- a/secureli/repositories/repo_settings.py +++ b/secureli/repositories/repo_settings.py @@ -110,7 +110,7 @@ class PreCommitRepo(BaseModel): """ url: str = Field(alias="repo") - rev: str + rev: Optional[str] hooks: list[PreCommitHook] = Field(default=[]) suppressed_hook_ids: list[str] = Field(default=[])