mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 08:58:30 +01:00
989358af34
* not allow empty authorized address * check authorized address before adding * use github for flake8 * fix test
27 lines
690 B
YAML
27 lines
690 B
YAML
exclude: "(migrations|static/node_modules|static/assets|static/vendor)"
|
|
default_language_version:
|
|
python: python3
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.2.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.3.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: 3.9.2
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/Riverside-Healthcare/djLint
|
|
rev: v1.3.0
|
|
hooks:
|
|
- id: djlint-jinja
|
|
files: '.*\.html'
|
|
entry: djlint --reformat
|
|
- repo: https://github.com/PyCQA/pylint
|
|
rev: v2.14.4
|
|
hooks:
|
|
- id: pylint
|