diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8a79a81..336fddf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,14 +10,14 @@ exclude: > ) repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer exclude_types: [sql] - id: check-yaml - repo: https://github.com/PyCQA/autoflake - rev: v2.2.1 + rev: v2.3.1 hooks: - id: autoflake exclude: &fixtures tests/functional/|tests/input|tests/extensions/data|tests/regrtest_data/|tests/data/ @@ -28,22 +28,22 @@ repos: - --remove-duplicate-keys - --remove-unused-variables - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 6.0.1 hooks: - id: isort exclude: docs* additional_dependencies: [toml] - repo: https://github.com/psf/black - rev: 23.12.0 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - rev: v2.11.0 + rev: v2.14.0 hooks: - id: pretty-format-ini args: [--autofix] diff --git a/main.py b/main.py index acc9774..c7b1fb5 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,5 @@ """Tableau metadata exporter script.""" + import fnmatch import os import shutil