1ci: 2 autoupdate_branch: "2.1.x" 3 autoupdate_schedule: monthly 4repos: 5 - repo: https://github.com/asottile/pyupgrade 6 rev: v3.15.0 7 hooks: 8 - id: pyupgrade 9 args: ["--py37-plus"] 10 - repo: https://github.com/asottile/reorder-python-imports 11 rev: v3.12.0 12 hooks: 13 - id: reorder-python-imports 14 args: ["--application-directories", "src"] 15 additional_dependencies: ["setuptools>60.9"] 16 - repo: https://github.com/psf/black 17 rev: 24.1.1 18 hooks: 19 - id: black 20 - repo: https://github.com/PyCQA/flake8 21 rev: 7.0.0 22 hooks: 23 - id: flake8 24 additional_dependencies: [flake8-bugbear] 25 - repo: https://github.com/pre-commit/pre-commit-hooks 26 rev: v4.5.0 27 hooks: 28 - id: fix-byte-order-marker 29 - id: trailing-whitespace 30 - id: end-of-file-fixer 31