forked from heroku/heroku-buildpack-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
34 lines (25 loc) · 810 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
require:
- rubocop-rspec
AllCops:
NewCops: enable
Layout/TrailingWhitespace:
# Required since we use heredocs to assert against Hatchet output, and sometimes that output
# contains trailing newlines which we must match against. The alternative is to end the lines
# with the unsightly `#{' '}` workaround.
AllowInHeredoc: true
Metrics/BlockLength:
Enabled: false
RSpec/DescribeClass:
Enabled: false
RSpec/ExampleLength:
Enabled: false
RSpec/Focus:
# Disable auto-correct otherwise format-on-save will remove the annotation
# whilst developing locally.
AutoCorrect: false
RSpec/MultipleExpectations:
Enabled: false
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma