repos: | |
- repo: https://github.com/ambv/black | |
rev: stable | |
hooks: | |
- id: black | |
python_version: python3.6 | |
- repo: https://github.com/timothycrosley/isort | |
rev: 5.1.4 | |
hooks: | |
- id: isort | |
additional_dependencies: [toml] | |
exclude: ^.*/?setup\.py$ | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v3.1.0 | |
hooks: | |
- id: trailing-whitespace | |
exclude: ^tests/(toml-test|toml-spec-tests)/.* | |
- id: end-of-file-fixer | |
exclude: ^tests/(toml-test|toml-spec-tests)/.* | |
- id: debug-statements |