mirror of
https://github.com/django/django.git
synced 2024-12-28 03:55:50 +00:00
32f224e359
This adds:
- GitHub actions,
- tox configuration,
- pre-commit hook, and
- makefile rules
to run blacken-docs linter.
Co-authored-by: David Smith <smithdc@gmail.com>
Backport of 6015bab80e
from main
25 lines
551 B
YAML
25 lines
551 B
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.1.0
|
|
hooks:
|
|
- id: black
|
|
exclude: \.py-tpl$
|
|
- repo: https://github.com/adamchainz/blacken-docs
|
|
rev: 1.13.0
|
|
hooks:
|
|
- id: blacken-docs
|
|
additional_dependencies:
|
|
- black==23.1.0
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.12.0
|
|
hooks:
|
|
- id: isort
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 6.0.0
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
rev: v8.34.0
|
|
hooks:
|
|
- id: eslint
|