forked from jquast/x84
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prospector.yaml
83 lines (70 loc) · 1.97 KB
/
.prospector.yaml
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
inherits:
- strictness_medium
ignore:
- (^|/)\..+
- ^docs/
# user-contributed, very chaotic and unmaintainable
- ^x84/default/extras
# user-contributed, not necessary to pylint
- ^x84/encodings
# derived from mini-boa, not very well documented.
- ^x84/telnet.py
# this code is disgusting, please don't view it.
- ^x84/default/tetris.py
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
frosted:
# static analysis
run: true
disable:
# (...) imported but unused, does not understand __all__
- E101
mccabe:
# complexity checking.
run: true
pep257:
# docstring checking
run: true
pep8:
# style checking
run: true
options:
max-line-length: 100
pyflakes:
# preferring 'frosted' instead (a fork of)
run: false
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
disable:
# Use % formatting in logging functions but pass the % parameters as arguments
- W1202
# Used builtin function 'map' (col 29)
- W0141
# Used * or ** magic
- W0142
# Cyclic import (x84.bbs -> x84.bbs.dbproxy -> x84.db -> x84.bbs.ini -> x84.ssh -> x84.sftp)
# we really can't prevent this without a complete overhaul.
- R0401
# Argument 'self' passed by position and keyword in method call
# we use this commonly for .format(self=self)
- E1124
# Interface not implemented
# happens in ssh.py and sftp.py due to paramiko's old-style classes.
- R0923
pyroma:
# checks setup.py
run: true
vulture:
# this tool does a good job of finding unused code.
run: false
# vim: noai:ts=4:sw=4