Skip to content

Commit 8132109

Browse files
committed
Update config
1 parent 15744c0 commit 8132109

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

.sublimelinterrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"flake8": {
55
"max-line-length": 120
66
},
7+
"pep257": {
8+
"ignore": ["D202"]
9+
},
710
"pep8": {
811
"max-line-length": 120
912
}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ install:
88
# command to run tests
99
script:
1010
- flake8 . --max-line-length=120
11-
- pep257 .
11+
- pep257 . --ignore=D202

linter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ class Ruby(RubyLinter):
2525
)
2626
multiline = True
2727
comment_re = r'\s*#'
28+
version_args = '--version'
29+
version_re = r'^ruby (?P<version>\d+\.\d+\.\d+)'
30+
version_requirement = '>= 1.8'

0 commit comments

Comments
 (0)