tests: prune empty lines and add docstrings
[git-cola.git] / .pre-commit-config.yaml
blob1d7588f7434408676a6e3f89094c4fd2c08b418a
1 ci:
2   autoupdate_schedule: monthly
4 exclude: qtpy/|test/fixtures/|\.rtf$|PkgInfo$
6 repos:
7   - repo: https://github.com/pre-commit/pre-commit-hooks.git
8     rev: v4.5.0
9     hooks:
10       - id: end-of-file-fixer
11       - id: trailing-whitespace
13   - repo: https://github.com/asottile/pyupgrade
14     rev: v3.15.0
15     hooks:
16       - id: pyupgrade
17         name: Enforce Python 3.6 idioms
18         args:
19           - --py36-plus
21   - repo: https://github.com/jsh9/cercis
22     rev: 0.2.5
23     hooks:
24       - id: cercis
25         args:
26           - --line-length=88
27           - --function-definition-extra-indent=False