mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Adds additional CI checks for the backend and frontend, to complement pre-commit hooks which should already be run
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user