diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 24f053004efdbe56df554597f7309bb4b94975d8..6b73874ad6a17233dfbb61a7b9c9cc3b6481c2ee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,6 @@ exclude: tests/test_python-syntax_error.py +ci: + autoupdate_branch: 'devel' repos: - repo: https://github.com/pre-commit/mirrors-clang-format rev: v13.0.1 @@ -6,18 +8,21 @@ repos: - id: clang-format args: [-i, --style=Google] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.2.0 hooks: - - id: trailing-whitespace - id: check-added-large-files - id: check-ast + - id: check-executables-have-shebangs + - id: check-json - id: check-merge-conflict - id: check-symlinks - id: check-toml - id: check-yaml - id: debug-statements + - id: destroyed-symlinks - id: detect-private-key - id: end-of-file-fixer + - id: fix-byte-order-marker - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/psf/black diff --git a/pyproject.toml b/pyproject.toml index d5b38d0e6db93012326c5bad5073bfdca523321c..1b9ae254f8234486904af2915d527871e84aac31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,3 @@ [tool.black] -exclude = "tests/test_python-syntax_error.py" - -[tool.isort] -line_length = 88 +exclude = "cmake" +extend-exclude = "tests/test_python-syntax_error.py" diff --git a/setup.cfg b/setup.cfg index 4155cd476bc92ae6f1511bc3f6eb31b696607e30..064b113ec9b3c5e8302f09e3c1f6259ef4cda0bf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,4 @@ [flake8] +exclude = cmake,tests/test_python-syntax_error.py max-line-length = 88 -exclude = tests/test_python-syntax_error.py ignore = E226, E704, E24, E121, W504, E126, E123, W503, E203