-
Notifications
You must be signed in to change notification settings - Fork 0
/
a2_pyta.txt
40 lines (30 loc) · 1.57 KB
/
a2_pyta.txt
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
[ELIF]
# Set maximum allowed if nesting.
max-nested-blocks = 3
[FORMAT]
# Set the maximum line length. The maximum line length in pep8 is 80 characters.
max-line-length = 80
[FORBIDDEN IMPORT]
# Set the whitelist of modules that are allowed to be imported
allowed-import-modules=doctest, unittest, hypothesis, python_ta
[FORBIDDEN IO]
# Comma-separated names of functions that are allowed to contain IO actions
allowed-io =
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s).
disable=R0401, R0901, R0903, R0904, R0911, R0916, W0402, W0403, W0410,
W1501, W1502, W1505, E1300, E1301, E1302, E1304, W1300, W1301, W1302, W1304,
E1124, E1125, E1129, E1132, W1402, W0105, E1303, W1306, W1307, C0123,
E0116, E0114, E0112, E0115, E0106, E0113, E0111, E0105, E0100, E0117,
W0150, W0120, W0124, W0108, W0123, W0122, W0110, C0122, C0200, W0141,
W0640, W0623, W0614, W0604, W0603, W0602, W0601, E0604, E0603, E1200,
E1201, E1202, W1201, E1205, E1206, similarities, newstyle, python3,
W0512, C0403, C0401, C0402, E1701, E1700, W0332, C0327, C0328, E0202,
E0241, E0704, W0211, W0232, W0511, R0204, C0303, W0231, E9998, R0201, E9999
# Enable single-letter identifiers
function-rgx = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
variable-rgx = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
attr-rgx = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
argument-rgx = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
method-rgx = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
class-attribute-rgx = ([A-Za-z_][A-Za-z0-9_]{0,30}|(__.*__))$