Debian Codegraph @

ansible_collections/community/postgresql/.pre-commit-config.yaml

raw
1 # See https://pre-commit.com for more information
2 # See https://pre-commit.com/hooks.html for more hooks
3 #
4 # Should more or less follow lint and typing settings as found is tox.ini
5 #
6 # Once pre-commit package is installed in your environnement, install hooks
7 # with `pre-commit install`
8 repos:
9 - repo: https://github.com/pre-commit/pre-commit-hooks
10 rev: v4.4.0
11 hooks:
12 - id: trailing-whitespace
13 - id: end-of-file-fixer
14 - id: check-added-large-files
15 - repo: local
16 hooks:
17 - id: autoflake
18 name: autoflake
19 entry: autoflake --check-diff
20 language: system
21 types: [python]
22 - id: flake8
23 name: flake8
24 entry: flake8 .
25 language: system
26 types: [python]
27 # as per @andersson007 in #768
28 # - id: isort
29 # name: isort
30 # entry: isort --check --diff .
31 # language: system
32 # types: [python]
33 - id: codespell
34 name: codespell
35 entry: codespell
36 language: system
37 types: [file]