alnoda-workspaces/workspaces/python-automate-workspace/examples/simple-script/.pre-commit-config.yaml
2022-07-17 14:25:48 +00:00

31 lines
793 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.790
hooks:
- id: mypy
- repo: https://github.com/pycqa/isort
rev: 5.6.4
hooks:
- id: isort
args: [--profile, black, --filter-files]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear]
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
files: "^(feature_engineering|jobs)/.*\\.py"
additional_dependencies: [toml]