-
Notifications
You must be signed in to change notification settings - Fork 239
/
.landscape.yml
50 lines (50 loc) · 1012 Bytes
/
.landscape.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
doc-warnings: yes
test-warnings: no
strictness: high
max-line-length: 110
autodetect: yes
ignore-paths:
# Ignore code that's not in the delivered
- doc
- tests
- samples
# Ignore build files
- coverage_fix.py
- version.py
python-targets:
- 3
pylint:
options:
max-bool-expr: 6
max-nested-blocks: 6
disable:
# Need many attributes on widgets
- too-many-arguments
- too-many-locals
- too-many-instance-attributes
- invalid-name
# Need conditional imports for Windows/Linux
- wrong-import-order
- import-error
# Use pep257 to handle docstring issues
- missing-docstring
# Complexity isn't as bad as the metrics think - but stuff for v2.0
- too-many-lines
- too-many-branches
- too-many-statements
# Don't agree with these styles
- no-else-return
- len-as-condition
mccabe:
run: false
pep257:
disable:
- D102
- D200
- D203
- D205
- D212
- D400
- D401
- D404
- D415