Skip to content

Commit 35c868c

Browse files
committed
Enable yaml lint on Travis-CI.
1 parent 01bcff4 commit 35c868c

4 files changed

Lines changed: 31 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ script:
1313
- npm run lint:js
1414
- npm run lint:css
1515
- npm run lint:pug
16+
- poetry run yamllint **/*.yml
1617
- (cd app && npm run webpack)
1718
- (cd slides && npm run webpack)
1819
- poetry run lektor build

.yamllint

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
extends: default
2+
3+
ignore: |
4+
**/node_modules/**

poetry.lock

Lines changed: 23 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ python = "^3.7"
99
Lektor = "^3.1"
1010
lektor-google-analytics = "^0.1.3"
1111

12+
[tool.poetry.dev-dependencies]
13+
yamllint = "^1.15"
14+
1215
[build-system]
1316
requires = ["poetry>=0.12"]
1417
build-backend = "poetry.masonry.api"

0 commit comments

Comments
 (0)