Adds additional CI checks for the backend and frontend, to complement pre-commit hooks which should already be run

This commit is contained in:
Trenton Holmes
2022-03-13 14:39:31 -07:00
parent 460f10f46a
commit ee1404d99e
4 changed files with 58 additions and 33 deletions

View File

@@ -30,9 +30,6 @@ repos:
rev: "v2.5.1"
hooks:
- id: prettier
args:
- "--no-semi"
- "--single-quote"
types_or:
- javascript
- ts
@@ -59,10 +56,8 @@ repos:
hooks:
- id: flake8
files: ^src/
exclude: "(migrations)|(paperless/settings.py)|(.*\\.tox)|(.*/tests/.*)"
args:
- "--max-line-length=88"
- "--ignore=E203,W503"
- "--config=./src/setup.cfg"
- repo: https://github.com/psf/black
rev: 22.1.0
hooks: