Commit 9077c8a 1 parent 0683ab9 commit 9077c8a Copy full SHA for 9077c8a
File tree 4 files changed +30
-16
lines changed
4 files changed +30
-16
lines changed Original file line number Diff line number Diff line change 40
40
attributes :
41
41
label : Checklist to complete before beginning development
42
42
description : |
43
- Please do not modify this section. No development should be done on a Provider API Script until the following info is gathered:
43
+ Please do not modify this section. No development should be done on a Provider API Script until the following info is gathered:
44
44
options :
45
45
- label : Verify there is a way to retrieve the entire relevant portion of the provider's collection in a systematic way via their API.
46
46
required : false
Original file line number Diff line number Diff line change 1
- exclude : archive
1
+ exclude : Pipfile\.lock|migrations|\.idea|node_modules| archive
2
2
3
3
repos :
4
4
- repo : https://github.com/pre-commit/pre-commit-hooks
5
5
rev : v4.0.1
6
6
hooks :
7
7
- id : trailing-whitespace
8
+ args : [--markdown-linebreak-ext=md]
8
9
- id : check-docstring-first
9
10
- id : check-executables-have-shebangs
10
11
- id : check-json
20
21
args :
21
22
- --remove
22
23
- id : pretty-format-json
24
+ exclude : package(-lock)?\.json
23
25
args :
24
26
- --autofix
25
27
- id : requirements-txt-fixer
28
30
rev : 5.9.1
29
31
hooks :
30
32
- id : isort
31
- name : Run isort to sort imports
32
33
files : \.py$
33
34
exclude : ^build/.*$|^.tox/.*$|^venv/.*$
34
35
args :
@@ -47,22 +48,36 @@ repos:
47
48
args :
48
49
- --py310-plus
49
50
50
- - repo : https://gitlab .com/pycqa /flake8
51
+ - repo : https://github .com/PyCQA /flake8
51
52
rev : 3.9.2
52
53
hooks :
53
- - id : flake8
54
- args :
55
- - --per-file-ignores=test_*:E501
56
- - --max-line-length=88
57
- - --ignore=E203,W503
54
+ - id : flake8
58
55
59
56
- repo : https://github.com/ambv/black
60
57
rev : 22.3.0
61
58
hooks :
62
- - id : black
63
- args :
64
- - --safe
59
+ - id : black
60
+ args :
61
+ - --safe
62
+
63
+ - repo : https://github.com/pre-commit/mirrors-eslint
64
+ rev : v8.3.0
65
+ hooks :
66
+ - id : eslint
67
+ files : ^js/.*$
68
+ additional_dependencies :
69
+ - eslint@8.3.0
70
+ - eslint-config-prettier@8.3.0
71
+
72
+ - repo : https://github.com/pre-commit/mirrors-prettier
73
+ rev : v2.5.0
74
+ hooks :
75
+ - id : prettier
76
+ files : ^js/.*$
77
+ - id : prettier
78
+ types : [yaml]
79
+
65
80
- repo : https://github.com/koalaman/shellcheck-precommit
66
81
rev : v0.8.0
67
82
hooks :
68
- - id : shellcheck
83
+ - id : shellcheck
Original file line number Diff line number Diff line change 1
- version : ' 3 '
1
+ version : " 3 "
2
2
3
3
services :
4
4
# Services only needed for local development
Original file line number Diff line number Diff line change 1
- version : ' 3 '
1
+ version : " 3 "
2
2
3
3
services :
4
-
5
4
webserver :
6
5
image : ghcr.io/wordpress/openverse-catalog:${DOCKER_IMAGE_TAG:-latest}
7
6
env_file : .env
You can’t perform that action at this time.
0 commit comments