repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: - id: check-docstring-first - id: check-toml - id: check-yaml exclude: packaging/.* - id: end-of-file-fixer # - repo: https://github.com/asottile/pyupgrade # rev: v2.29.0 # hooks: # - id: pyupgrade # args: [--py36-plus] # name: Upgrade code - repo: https://github.com/omnilib/ufmt rev: v1.3.0 hooks: - id: ufmt additional_dependencies: - black == 21.9b0 - usort == 0.6.4 - repo: https://gitlab.com/pycqa/flake8 rev: 3.9.2 hooks: - id: flake8 args: [--config=setup.cfg]