repos: - repo: local hooks: - id: style-print name: "" entry: "style-print 'Please report any issues at: https://github.com/python/python-docs-tr/issues' 'rUBI{y}'" language: python additional_dependencies: ["style-print"] pass_filenames: false verbose: true - id: lint name: Run sphinx-lint on .po files entry: sphinx-lint language: python additional_dependencies: ["sphinx-lint"] files: \.po$ - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: - id: isort name: isort (python) - repo: https://github.com/psf/black rev: 23.1.0 hooks: - id: black name: Run black on Python files args: ["--target-version=py311"] files: \.py$ - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.7.1 hooks: - id: prettier name: Run prettier on .yml and .yaml files types: [yaml]