File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/pre-commit/pre-commit-hooks
3+ rev : {{ cookiecutter.pre_commit_hooks_rev }}
4+ hooks :
5+ - id : trailing-whitespace
6+ - id : end-of-file-fixer
7+ - id : check-yaml
8+ - id : check-added-large-files
9+ - id : check-merge-conflict
10+ - id : check-toml
11+ - id : check-json
12+ - id : detect-private-key
13+ - id : check-ast
14+ - repo : https://github.com/astral-sh/ruff-pre-commit
15+ rev : {{ cookiecutter.ruff_pre_commit_rev }}
16+ hooks :
17+ - id : ruff
18+ args : [ --fix ]
19+ - id : ruff-format
20+ - repo : https://github.com/pre-commit/mirrors-mypy
21+ rev : {{ cookiecutter.mypy_rev }}
22+ hooks :
23+ - id : mypy
24+ additional_dependencies : [types-requests, types-setuptools]
25+ args : [--config-file=pyproject.toml]
26+ language_version : python3
27+ - repo : https://github.com/PyCQA/bandit
28+ rev : {{ cookiecutter.bandit_rev }}
29+ hooks :
30+ - id : bandit
31+ args : [-c, pyproject.toml]
32+ additional_dependencies : ["bandit[toml]"]
33+ - repo : https://github.com/commitizen-tools/commitizen
34+ rev : {{ cookiecutter.commitizen_rev }}
35+ hooks :
36+ - id : commitizen
37+ stages : [commit-msg]
38+ - repo : https://github.com/PyCQA/docformatter
39+ rev : {{ cookiecutter.docformatter_rev }}
40+ hooks :
41+ - id : docformatter
42+ args : [--in-place, --wrap-summaries=88, --wrap-descriptions=88]
You can’t perform that action at this time.
0 commit comments