repos: - repo: https://github.com/psf/black rev: 21.9b0 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-autopep8 rev: v1.5.7 hooks: - id: autopep8 - repo: https://github.com/pycqa/flake8 rev: 3.9.2 hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-pylint rev: v2.7.4 hooks: - id: pylint - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: check-added-large-files - id: check-ast - id: check-builtin-literals - id: check-case-conflict - id: check-docstring-first - id: check-executables-have-shebangs - id: check-json - id: check-merge-conflict - id: check-symlinks - id: check-yaml - id: debug-statements - id: detect-private-key - id: double-quote-string-fixer - id: end-of-file-fixer - id: fix-encoding-pragma - id: mixed-line-ending - id: requirements-txt-fixer - id: trailing-whitespace - id: validate-commit-msg - id: validate-pyproject-toml - id: validate-xml - id: validate-yaml files: ^code/main.py$