Skip to content

Commit 30b2cb5

Browse files
tomhennigancopybara-github
authored andcommitted
Make comments more respectful in pylintrc.
I would like to also remove `[MASTER]` but this would require an upstream change in pylint [0] since there is no current alternative. [0] https://github.com/PyCQA/pylint/blob/98d2c060ba0dbae6abecff2393cb6dd8a9bde97b/pylint/constants.py#L32-L35 PiperOrigin-RevId: 354072752 Change-Id: I7e5ca28a2864dc118e1244cce136462cc799e57f
1 parent d9d795a commit 30b2cb5

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.pylintrc

+3-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
# Its canonical open-source location is:
66
# https://google.github.io/styleguide/pylintrc
77

8+
# TODO(b/178199529): Replace section header when pylint is updated.
89
[MASTER]
910

10-
# Add files or directories to the blacklist. They should be base names, not
11+
# Add files or directories to the ban list. They should be base names, not
1112
# paths.
1213
ignore=third_party
1314

14-
# Add files or directories matching the regex patterns to the blacklist. The
15+
# Add files or directories matching the regex patterns to the ban list. The
1516
# regex matches against base names, not paths.
1617
ignore-patterns=
1718

@@ -29,11 +30,6 @@ jobs=4
2930
# active Python interpreter and may run arbitrary code.
3031
unsafe-load-any-extension=no
3132

32-
# A comma-separated list of package or module names from where C extensions may
33-
# be loaded. Extensions are loading into the active Python interpreter and may
34-
# run arbitrary code
35-
extension-pkg-whitelist=
36-
3733

3834
[MESSAGES CONTROL]
3935

0 commit comments

Comments
 (0)