Loading .pre-commit-config.yaml +0 −15 Original line number Diff line number Diff line # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-added-large-files - id: check-executables-have-shebangs # - id: check-yaml - id: end-of-file-fixer exclude: ^caas/cfg/ - id: fix-encoding-pragma - id: requirements-txt-fixer - id: trailing-whitespace # https://stackoverflow.com/a/76200334/2186237 - repo: https://github.com/pycqa/isort rev: 6.0.1 hooks: Loading @@ -25,17 +18,9 @@ repos: - id: black args: # - "--check" - "--target-version=py38" - "--target-version=py39" - "--target-version=py310" - "--target-version=py311" - "--target-version=py312" - repo: https://github.com/pycqa/flake8 rev: 7.0.0 hooks: - id: flake8 additional_dependencies: [] #- repo: https://github.com/hhatto/autopep8 # rev: v2.0.4 # hooks: # - id: autopep8 Loading
.pre-commit-config.yaml +0 −15 Original line number Diff line number Diff line # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-added-large-files - id: check-executables-have-shebangs # - id: check-yaml - id: end-of-file-fixer exclude: ^caas/cfg/ - id: fix-encoding-pragma - id: requirements-txt-fixer - id: trailing-whitespace # https://stackoverflow.com/a/76200334/2186237 - repo: https://github.com/pycqa/isort rev: 6.0.1 hooks: Loading @@ -25,17 +18,9 @@ repos: - id: black args: # - "--check" - "--target-version=py38" - "--target-version=py39" - "--target-version=py310" - "--target-version=py311" - "--target-version=py312" - repo: https://github.com/pycqa/flake8 rev: 7.0.0 hooks: - id: flake8 additional_dependencies: [] #- repo: https://github.com/hhatto/autopep8 # rev: v2.0.4 # hooks: # - id: autopep8