|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
ci:
|
|
|
|
|
# skip any check that needs internet access
|
|
|
|
|
skip: [check-jsonschema, prettier, eslint, integrity]
|
|
|
|
|
skip: [prettier, integrity]
|
|
|
|
|
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
|
@ -33,6 +33,13 @@ repos:
|
|
|
|
|
files: \.py$
|
|
|
|
|
args: [--profile=black]
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/doc8
|
|
|
|
|
rev: 0.11.1
|
|
|
|
|
hooks:
|
|
|
|
|
- id: doc8
|
|
|
|
|
args: [--max-line-length=200]
|
|
|
|
|
stages: [manual]
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
|
rev: 4.0.1
|
|
|
|
|
hooks:
|
|
|
|
|
@ -43,6 +50,7 @@ repos:
|
|
|
|
|
"flake8-logging-format==0.6.0",
|
|
|
|
|
"flake8-implicit-str-concat==0.2.0",
|
|
|
|
|
]
|
|
|
|
|
stages: [manual]
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/sirosen/check-jsonschema
|
|
|
|
|
rev: 0.14.2
|
|
|
|
|
@ -52,6 +60,7 @@ repos:
|
|
|
|
|
files: ^\.github/workflows/
|
|
|
|
|
types: [yaml]
|
|
|
|
|
args: ['--schemafile', 'https://json.schemastore.org/github-workflow']
|
|
|
|
|
stages: [manual]
|
|
|
|
|
|
|
|
|
|
- repo: local
|
|
|
|
|
hooks:
|
|
|
|
|
@ -60,11 +69,6 @@ repos:
|
|
|
|
|
entry: 'npm run prettier:files'
|
|
|
|
|
language: node
|
|
|
|
|
types_or: [json, markdown, ts, tsx, javascript, jsx, css]
|
|
|
|
|
- id: eslint
|
|
|
|
|
name: eslint
|
|
|
|
|
entry: 'npm run eslint:files'
|
|
|
|
|
language: node
|
|
|
|
|
types_or: [ts, tsx, javascript, jsx]
|
|
|
|
|
- id: integrity
|
|
|
|
|
name: integrity
|
|
|
|
|
entry: 'npm run integrity --force'
|
|
|
|
|
|