mirror of
https://github.com/django/django.git
synced 2024-11-30 23:20:50 +01:00
6015bab80e
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>
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
|