diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index df8064356..153d0b765 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -86,3 +86,21 @@ repos: description: Detect hardcoded secrets using Gitleaks entry: gitleaks detect --verbose --redact --baseline-path .gitleaks-report.json language: golang + +# Configuration for https://pre-commit.ci/. +ci: + autoupdate_schedule: monthly + # Skip all hooks that just do checks without actually fixing anything. + skip: + - check-added-large-files + - check-merge-conflict + - check-case-conflict + - check-yaml + - check-json + - check-datafiles + - check-forbidden-words + - check-branch-name + - codespell + - bandit + - mypy + - gitleaks diff --git a/vizro-core/src/vizro/models/_dashboard.py b/vizro-core/src/vizro/models/_dashboard.py index f28b08f22..2ea59669a 100644 --- a/vizro-core/src/vizro/models/_dashboard.py +++ b/vizro-core/src/vizro/models/_dashboard.py @@ -19,6 +19,7 @@ if TYPE_CHECKING: from vizro.models import Page + logger = logging.getLogger(__name__)