default_language_version: python: python3.8 fail_fast: false ci: autoupdate_schedule: quarterly repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: - id: check-yaml - id: trailing-whitespace - id: check-builtin-literals - id: check-ast - id: check-docstring-first - id: check-json - id: detect-private-key - id: check-toml - id: requirements-txt-fixer - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - repo: https://github.com/humitos/mirrors-autoflake.git rev: v1.1 hooks: - id: autoflake args: ['--in-place', '--remove-unused-variable'] - repo: https://github.com/psf/black rev: '21.6b0' hooks: - id: black - repo: https://github.com/Pierre-Sassoulas/black-disable-checker rev: '1.0.1' hooks: - id: black-disable-checker - repo: https://github.com/pycqa/isort rev: '5.9.1' hooks: - id: isort