Skip to content

Commit

Permalink
check for duplicate keys (ros#14447)
Browse files Browse the repository at this point in the history
* check for duplicate keys

* remove duplicate key used for testing
  • Loading branch information
dirk-thomas committed Apr 3, 2017
1 parent ccf8f18 commit 0dd5420
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ install:
- easy_install -U pip
- pip install PyYAML argparse
- pip install catkin_pkg ros_buildfarm rosdistro nose coverage
- pip install yamllint
- pip install unidiff

# command to run tests
script: nosetests -s
script:
- nosetests -s
- yamllint */

notifications:
email:
Expand Down
42 changes: 42 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
rules:
# braces:
# min-spaces-inside: 0
# max-spaces-inside: 0
# brackets:
# min-spaces-inside: 0
# max-spaces-inside: 0
# colons:
# max-spaces-before: 0
# max-spaces-after: 1
# commas:
# max-spaces-before: 0
# min-spaces-after: 1
# max-spaces-after: 1
# comments:
# level: warning
# require-starting-space: yes
# min-spaces-from-content: 2
# comments-indentation:
# level: warning
# document-end: disable
# document-start:
# level: warning
# present: false
# empty-lines:
# max: 2
# max-start: 0
# max-end: 0
# hyphens:
# max-spaces-after: 1
# indentation:
# spaces: consistent
# indent-sequences: yes
# check-multi-line-strings: no
key-duplicates: enable
# line-length:
# max: 999
# allow-non-breakable-words: yes
# new-line-at-end-of-file: enable
# new-lines:
# type: unix
# trailing-spaces: enable

0 comments on commit 0dd5420

Please sign in to comment.