@@ -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,19 @@ 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
121
- docker-compose --profile lint build
122
- docker-compose --profile lint run --rm algorithm-exercises-py-lint make mdlint
122
+ compose/lint/markdown : compose/build
123
+ docker-compose --profile lint run --rm algorithm-exercises-py-lint make lint/markdown
124
+
125
+ compose/lint/yaml : compose/build
126
+ docker-compose --profile lint run --rm algorithm-exercises-py-lint make lint/yaml
127
+
128
+ compose/test/styling : compose/build
129
+ docker-compose --profile lint run --rm algorithm-exercises-py-lint make test/styling
123
130
124
131
compose/test/static : compose/build
125
132
docker-compose --profile lint run --rm algorithm-exercises-py-lint make test/static
126
133
127
- compose/lint : compose/test/static compose/mdlint
134
+ compose/lint : compose/lint/markdown compose/lint/yaml compose/ test/styling compose/test/static
128
135
129
136
compose/run : compose/build
130
137
docker-compose --profile testing run --rm algorithm-exercises-py make test
0 commit comments