forked from omegaup/omegaup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
30 lines (26 loc) · 946 Bytes
/
.pylintrc
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
[MESSAGES CONTROL]
# Python does not allow relative imports above main entrypoints, but are needed for cron scripts.
# C0413 = wrong-import-position
#
# We are locally disabling something because we don't want to hear about it.
# I0011 = Locally disabling
#
# Too few public methods is bad for context managers.
# R0903 = Too few public methods
#
# pylint is confused by some of our imports.
# E1101 = Module 'x' has no 'y' member
#
# pycodestyle will already catch these.
# W0702 = No exception type(s) specified.
#
# TODOs are useful to locally indicate that something is not (yet) working.
# fixme = (warning notes in code comments; message varies).
disable=C0413,I0011,R0903,E1101,W0702,fixme
[BASIC]
# We allow variables to be two characters.
attr-rgx=[a-z_][a-z0-9_]{1,64}$
function-rgx=[a-z_][a-z0-9_]{1,64}$
variable-rgx=[a-z_][a-z0-9_]{1,64}$
# We also allow 's' (for strings) and 'f' (for files)
good-names=i,j,k,ex,Run,_,s,f