Skip to content

Commit

Permalink
Pylint: Disable invalid-name
Browse files Browse the repository at this point in the history
This check causes many false positives, especially for global variables
used in simple scripts.

Looks like this will be fixed in Pylint 2.5.0, though. It's already been
integrated into the main branch:
pylint-dev/pylint@3422e4a

Also see relevant issues that motivated the change:
- pylint-dev/pylint#3111
- pylint-dev/pylint#3132

The latest changelog with the fix mentioned under 2.5.0 changes:
https://github.com/PyCQA/pylint/blob/f2f4e6f42416644471ab003d4df7ecf052c3c411/ChangeLog
  • Loading branch information
pastelmind committed Jan 21, 2020
1 parent 207caea commit 4f60d7a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=
invalid-name,

0 comments on commit 4f60d7a

Please sign in to comment.