mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
add markdownlint and bump other versions
This commit is contained in:
parent
990d3e4127
commit
d404f26c5c
2 changed files with 15 additions and 7 deletions
|
|
@ -12,33 +12,34 @@ repos:
|
|||
- id: name-tests-test
|
||||
- id: double-quote-string-fixer
|
||||
- id: requirements-txt-fixer
|
||||
- id: check-markdown
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
rev: 3.7.1
|
||||
rev: 3.7.7
|
||||
hooks:
|
||||
- id: flake8
|
||||
- repo: https://github.com/pre-commit/mirrors-autopep8
|
||||
rev: v1.4.3
|
||||
rev: v1.4.4
|
||||
hooks:
|
||||
- id: autopep8
|
||||
- repo: https://github.com/pre-commit/pre-commit
|
||||
rev: v1.14.2
|
||||
rev: v1.16.1
|
||||
hooks:
|
||||
- id: validate_manifest
|
||||
- repo: https://github.com/asottile/reorder_python_imports
|
||||
rev: v1.3.5
|
||||
rev: v1.4.0
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
language_version: python3
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v1.11.1
|
||||
rev: v1.17.1
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
- repo: https://github.com/asottile/add-trailing-comma
|
||||
rev: v0.7.1
|
||||
rev: v1.0.0
|
||||
hooks:
|
||||
- id: add-trailing-comma
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.660
|
||||
rev: v0.701
|
||||
hooks:
|
||||
- id: mypy
|
||||
language_version: python3
|
||||
|
|
|
|||
|
|
@ -186,3 +186,10 @@
|
|||
language: python
|
||||
types: [text]
|
||||
stages: [commit, push, manual]
|
||||
- id: check-markdown
|
||||
name: Markdownlint
|
||||
description: This hook runs markdownlint on Markdown files.
|
||||
entry: mdl
|
||||
language: system
|
||||
types: [text]
|
||||
files: \.(md|mdown|markdown)$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue