Skip to content

Commit 8fd7616

Browse files
committed
ci(yamllint): add rule empty-values
* Automated using myii/ssf-formula#27
1 parent 7a30363 commit 8fd7616

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ env:
2626
# - INSTANCE: default-opensuse-leap-15-develop-py3
2727
# - INSTANCE: default-amazonlinux-2-develop-py2
2828
# - INSTANCE: default-debian-9-2019-2-py3
29-
- INSTANCE: default-ubuntu-1804-2019-2-py3
29+
# - INSTANCE: default-ubuntu-1804-2019-2-py3
3030
# - INSTANCE: default-centos-7-2019-2-py3
3131
# - INSTANCE: default-fedora-30-2019-2-py3
3232
# - INSTANCE: default-opensuse-leap-15-2019-2-py3
33-
- INSTANCE: default-amazonlinux-2-2019-2-py2
33+
# - INSTANCE: default-amazonlinux-2-2019-2-py2
3434
# - INSTANCE: default-debian-9-2018-3-py2
3535
# - INSTANCE: default-ubuntu-1604-2018-3-py2
36-
- INSTANCE: default-centos-7-2018-3-py2
36+
# - INSTANCE: default-centos-7-2018-3-py2
3737
# - INSTANCE: default-fedora-29-2018-3-py2
38-
- INSTANCE: default-opensuse-leap-15-2018-3-py2
38+
# - INSTANCE: default-opensuse-leap-15-2018-3-py2
3939
# - INSTANCE: default-amazonlinux-2-2018-3-py2
4040
# - INSTANCE: default-debian-8-2017-7-py2
4141
# - INSTANCE: default-ubuntu-1604-2017-7-py2
42-
- INSTANCE: default-centos-6-2017-7-py2
42+
# - INSTANCE: default-centos-6-2017-7-py2
4343
# - INSTANCE: default-fedora-29-2017-7-py2
4444
# - INSTANCE: default-opensuse-leap-15-2017-7-py2
4545
# - INSTANCE: default-amazonlinux-2-2017-7-py2

.yamllint

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ ignore: |
1010
node_modules/
1111
1212
rules:
13+
empty-values:
14+
forbid-in-block-mappings: true
15+
forbid-in-flow-mappings: true
1316
line-length:
1417
# Increase from default of `80`
1518
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)

0 commit comments

Comments
 (0)