mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-24 09:13:57 +01:00
8f228d6844
* Add pre-commit config files * Add linting test on github action
16 lines
336 B
YAML
16 lines
336 B
YAML
repos:
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.7.9
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.5.4
|
|
hooks:
|
|
- id: isort
|
|
args: ["--profile", "black"]
|
|
- repo: https://github.com/psf/black
|
|
rev: 20.8b1
|
|
hooks:
|
|
- id: black
|
|
language_version: python3
|