forked from jquast/telnetlib3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.landscape.yml
84 lines (68 loc) · 2.02 KB
/
.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
inherits:
- strictness_veryhigh
ignore-patterns:
- (^|/)\..+
- ^docs/
- ^build/
- ^telnetlib3/tests/
test-warnings: true
output-format: grouped
dodgy:
# Looks at Python code to search for things which look "dodgy"
# such as passwords or git conflict artifacts
run: true
pyflakes:
run: true
disable:
# conflicts with py.test fixtures,
# redefinition of unused 'log' from line 9 (col 1)
- F811
mccabe:
run: true
pep257:
# docstring checking
run: true
disable:
# 1 blank line required before class docstring (found 0)
# this deprecated since 0.7.0
- D203
# Do not require docstrings in public classes, we will
# document their class initializer, __init__.
- D101
pep8:
# style checking
run: true
pylint:
# static analysis and then some
run: true
options:
# pytest module has dynamically assigned functions,
# raising errors such as: E1101: Module 'pytest' has
# no 'mark' member
ignored-classes: pytest
# List of builtins function names that should not be used,
# separated by a comma
# bad-functions=map,filter,input
bad-functions: input
persistent: no
# 'fd' is a common shorthand term for file descriptor (as int).
good-names: _,fd
disable:
# Access to a protected member _sugar of a client class
- protected-access
# conflicts with py.test test fixtures
- redefined-outer-name
- too-many-instance-attributes
pyroma:
# checks setup.py
run: true
disable:
# > Setuptools and Distribute support running tests. By specifying a test
# > suite, it's easy to find and run tests both for automated tools and humans.
#
# https://pytest.org/latest/goodpractises.html#integration-with-setuptools-test-commands
# > Most often it is better to use tox instead
#
# we agree.
- 'PYR15'
# vim: noai:ts=4:sw=4