a | b/.pre-commit-config.yaml | ||
---|---|---|---|
1 | default_stages: |
||
2 | - commit |
||
3 | |||
4 | repos: |
||
5 | # these lines taken from https://pre-commit.com/ |
||
6 | - repo: https://github.com/pre-commit/pre-commit-hooks |
||
7 | rev: v2.3.0 |
||
8 | hooks: |
||
9 | - id: end-of-file-fixer |
||
10 | - id: trailing-whitespace |
||
11 | |||
12 | - repo: https://github.com/PyCQA/autoflake |
||
13 | rev: v2.1.1 |
||
14 | hooks: |
||
15 | - id: autoflake |
||
16 | args: |
||
17 | - -i |