Mon, 07 Mar 2022 23:11:41 -0600
try to use the same python as hg automatically
959 | 1 | --- |
2 | AllCops: | |
3 | TargetRubyVersion: 2.7 | |
4 | NewCops: enable | |
5 | Exclude: | |
6 | - vendor/**/* | |
7 | ||
8 | Layout/ArgumentAlignment: | |
9 | EnforcedStyle: with_fixed_indentation | |
10 | ||
11 | Layout/HashAlignment: | |
12 | EnforcedHashRocketStyle: table | |
13 | EnforcedColonStyle: table | |
14 | ||
15 | Layout/MultilineMethodDefinitionBraceLayout: | |
16 | EnforcedStyle: new_line | |
17 | ||
18 | Metrics/AbcSize: | |
19 | Max: 25 | |
20 | ||
21 | Metrics/CyclomaticComplexity: | |
22 | Enabled: false | |
23 | ||
24 | Metrics/MethodLength: | |
25 | Enabled: false | |
26 | ||
27 | Naming/InclusiveLanguage: | |
28 | Enabled: true | |
29 | ||
30 | Naming/FileName: | |
31 | ExpectMatchingDefinition: true | |
32 | ||
33 | Style/Alias: | |
34 | EnforcedStyle: prefer_alias_method | |
35 | ||
36 | Style/BlockDelimiters: | |
37 | EnforcedStyle: semantic | |
38 | AllowBracesOnProceduralOneLiners: true | |
39 | ||
40 | Style/StringConcatenation: | |
41 | Mode: conservative | |
42 | ||
43 | Style/StringLiterals: | |
44 | EnforcedStyle: double_quotes | |
45 | ||
46 | Style/TrailingCommaInArrayLiteral: | |
47 | EnforcedStyleForMultiline: consistent_comma | |
48 | ||
49 | Style/TrailingCommaInHashLiteral: | |
50 | EnforcedStyleForMultiline: consistent_comma |