| exclude: 'docs/|ext/' |
| |
| repos: |
| - repo: https://github.com/pre-commit/pre-commit-hooks |
| rev: v4.4.0 |
| hooks: |
| - id: check-yaml |
| - id: debug-statements |
| - id: end-of-file-fixer |
| - id: trailing-whitespace |
| - repo: https://github.com/PyCQA/isort |
| rev: 5.12.0 |
| hooks: |
| - id: isort |
| - repo: https://github.com/psf/black |
| rev: 23.7.0 |
| hooks: |
| - id: black |
| exclude: tests/test_lowlevel.py |
| - repo: https://github.com/asottile/pyupgrade |
| rev: v3.10.1 |
| hooks: |
| - id: pyupgrade |
| args: [--py37-plus] |
| - repo: https://github.com/PyCQA/flake8 |
| rev: 6.1.0 |
| hooks: |
| - id: flake8 |