-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-format
More file actions
34 lines (30 loc) · 1.1 KB
/
Copy pathpython-format
File metadata and controls
34 lines (30 loc) · 1.1 KB
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
# configures pylint and autopep8
# To disable errors/warnings in a given file use `pylint: disable=CODE` after the shebang, ex:
# # Disable 'W0212: Access to a protected member of a client class' because ... explain why
# # pylint: disable=W0212`
# pylint config
# https://docs.pylint.org/en/1.6.0/features.html
[MESSAGES CONTROL]
disable=missing-docstring
,invalid-name
,line-too-long
,redefined-outer-name
,bad-whitespace
,too-many-locals # R0914
,too-many-branches # R0912
,fixme # W0511 todos...
,too-many-arguments # R0913
,no-self-use # R0201 Method could be a function
,too-many-instance-attributes # R0902
,too-few-public-methods # R0903
,duplicate-code
,no-else-return
[TYPECHECK]
# what is the TYPECHECK section ?
# autopep8 config
[pep8]
max-line-length = 180
# E302 - Add missing 2 blank lines.
# E26 - Fix spacing after comment hash for inline comments.
# E265 - Fix spacing after comment hash for block comments.
ignore = E26,E265,E302