An example run can be found here.
My pre-commit-config is the following:
ci:
skip: [editorconfig-checker, export-requirements]
autofix_commit_msg: 'refactor: `pre-commit.ci` auto fix'
autofix_prs: true
autoupdate_commit_msg: 'refactor: `pre-commit.ci` auto update'
repos:
- repo: https://github.com/humitos/mirrors-autoflake.git
rev: v1.1
hooks:
- id: autoflake
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
- repo: https://github.com/pycqa/isort
rev: 5.9.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 21.6b0
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
exclude: ^docs|examples|tests
additional_dependencies: [wemake_python_styleguide]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-toml
- id: debug-statements
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910
hooks:
- id: mypy
args: [--config, .mypy.ini]
files: ^dotify|tests/
additional_dependencies: [types-all]
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.17.11
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.3.5
hooks:
- id: editorconfig-checker
- repo: https://github.com/jendrikseipp/vulture
rev: v2.3
hooks:
- id: vulture
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 0.5.1
hooks:
- id: tox-ini-fmt
- repo: local
hooks:
- id: export-requirements
name: export-requirements
language: system
pass_filenames: false
entry: poetry export --without-hashes -o requirements.txt
files: ^(pyproject.toml|poetry.lock)$
Thanks in advance!
An example run can be found here.
My pre-commit-config is the following:
Thanks in advance!