File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed
Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 6565#
6666# This is also used if you do content translation via gettext catalogs.
6767# Usually you set "language" from the command line for these cases.
68- language = None
68+ language = 'en'
6969
7070# List of patterns, relative to source directory, that match files and
7171# directories to ignore when looking for source files.
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ def _rate_limit_check(self, kwargs):
334334 return 2 # any value greater than 1 means allowed
335335
336336 # ----------------------------------------------------------------------
337- def _factor_rate_limit_key (self , exc ): # pylint: disable=no-self-use
337+ def _factor_rate_limit_key (self , exc ):
338338 module_name = getattr (exc , '__module__' , '__no_module__' )
339339 class_name = exc .__class__ .__name__
340340 key_items = [module_name , class_name ]
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ from_first = true
2828include_trailing_comma = true
2929
3030# the following sections are for pylint
31- [MASTER ]
31+ [pylint.main ]
3232ignore =.git
3333persistent =no
3434load-plugins =
@@ -40,7 +40,7 @@ load-plugins=
4040 pylint.extensions.overlapping_exceptions,
4141 pylint.extensions.redefined_variable_type
4242
43- [MESSAGES CONTROL ]
43+ [pylint ]
4444disable =
4545 fixme,
4646 duplicate-code,
@@ -49,25 +49,23 @@ disable=
4949 missing-docstring,
5050 no-else-raise,
5151 no-else-return,
52- no-self-use,
5352 unnecessary-pass
5453
55- [REPORTS ]
54+ [pylint.reports ]
5655output-format =parseable
57- files-output =no
5856reports =no
5957
60- [FORMAT ]
58+ [pylint.format ]
6159max-line-length =100
6260
63- [VARIABLES ]
61+ [pylint.variables ]
6462dummy-variables-rgx =_|dummy
6563
66- [DESIGN ]
64+ [pylint.design ]
6765min-public-methods =0
6866max-attributes =15
6967max-args =7
7068max-parents =9
7169
72- [EXCEPTIONS ]
70+ [pylint.exceptions ]
7371overgeneral-exceptions =
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def test_get_queued_events(self):
3434
3535 # ----------------------------------------------------------------------
3636 def test_get_queued_events_batch_size (self ):
37- constants .QUEUED_EVENTS_BATCH_SIZE = 3
37+ constants .QUEUED_EVENTS_BATCH_SIZE = 3 # pylint: disable=invalid-name
3838
3939 cache = MemoryCache ({
4040 "id1" : {"pending_delete" : True },
You can’t perform that action at this time.
0 commit comments