phono3py/.pre-commit-config.yaml

38 lines
760 B
YAML
Raw Normal View History

2021-10-15 15:49:41 +08:00
# See https://pre-commit.com for more informatio
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
2021-10-15 15:49:41 +08:00
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
exclude: ^conda/
- id: check-added-large-files
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
2021-10-15 15:49:41 +08:00
hooks:
- id: flake8
args:
- "--max-line-length=88"
- "--ignore=E203,W503"
- repo: https://github.com/psf/black
rev: 22.12.0
2021-10-15 15:49:41 +08:00
hooks:
- id: black
args:
- --line-length=88
- repo: https://github.com/pycqa/pydocstyle
rev: 6.2.3
2021-10-15 15:49:41 +08:00
hooks:
- id: pydocstyle
2021-10-23 10:35:40 +08:00
- repo: https://github.com/pycqa/isort
rev: 5.11.4
2021-10-23 10:35:40 +08:00
hooks:
- id: isort
name: isort (python)