@@ -66,10 +66,12 @@ dependencies:
66
66
${PACKAGE_TOOL} install -r requirements.txt
67
67
@echo " ################################################################################"
68
68
69
- mdlint :
69
+ lint/markdown :
70
70
markdownlint ' **/*.md' --ignore node_modules && echo ' ✔ Your code looks good.'
71
+ lint/yaml :
72
+ yamllint --stric . && echo ' ✔ Your code looks good.'
71
73
72
- lint : test/static test/styling mdlint
74
+ lint : lint/markdown lint/yaml test/styling test/static
73
75
74
76
test/static : dependencies
75
77
${RUNTIME_TOOL} -m pylint --verbose --recursive yes src/
@@ -117,14 +119,20 @@ compose/rebuild: env
117
119
docker-compose --profile lint build --no-cache
118
120
docker-compose --profile testing build --no-cache
119
121
120
- compose/mdlint : env
122
+ compose/lint/markdown : env
121
123
docker-compose --profile lint build
122
- docker-compose --profile lint run --rm algorithm-exercises-py-lint make mdlint
124
+ docker-compose --profile lint run --rm algorithm-exercises-py-lint make lint/markdown
125
+
126
+ compose/lint/yaml : env
127
+ docker-compose --profile lint run --rm algorithm-exercises-py-lint make lint/yaml
128
+
129
+ compose/test/styling : compose/build
130
+ docker-compose --profile lint run --rm algorithm-exercises-py-lint make test/styling
123
131
124
132
compose/test/static : compose/build
125
133
docker-compose --profile lint run --rm algorithm-exercises-py-lint make test/static
126
134
127
- compose/lint : compose/test/static compose/mdlint
135
+ compose/lint : compose/lint/markdown compose/lint/yaml compose/ test/styling compose/test/static
128
136
129
137
compose/run : compose/build
130
138
docker-compose --profile testing run --rm algorithm-exercises-py make test
0 commit comments