git-p4: sort and de-duplcate pylint disable list
git-p4 contains configuration commands for pylint embedded in the header comment. Previously, these were combined onto single lines and not alphabetically sorted. This patch breaks each disable command onto a separate line to give cleaner diffs, removed duplicate entries, and sorts the list alphabetically. Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
9084961b2a
commit
794bb28d2a
29
git-p4.py
29
git-p4.py
@ -7,13 +7,28 @@
|
||||
# 2007 Trolltech ASA
|
||||
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
|
||||
#
|
||||
# pylint: disable=invalid-name,missing-docstring,too-many-arguments,broad-except
|
||||
# pylint: disable=no-self-use,wrong-import-position,consider-iterating-dictionary
|
||||
# pylint: disable=wrong-import-order,unused-import,too-few-public-methods
|
||||
# pylint: disable=too-many-lines,ungrouped-imports,fixme,too-many-locals
|
||||
# pylint: disable=line-too-long,bad-whitespace,superfluous-parens
|
||||
# pylint: disable=too-many-statements,too-many-instance-attributes
|
||||
# pylint: disable=too-many-branches,too-many-nested-blocks
|
||||
# pylint: disable=bad-whitespace
|
||||
# pylint: disable=broad-except
|
||||
# pylint: disable=consider-iterating-dictionary
|
||||
# pylint: disable=disable
|
||||
# pylint: disable=fixme
|
||||
# pylint: disable=invalid-name
|
||||
# pylint: disable=line-too-long
|
||||
# pylint: disable=missing-docstring
|
||||
# pylint: disable=no-self-use
|
||||
# pylint: disable=superfluous-parens
|
||||
# pylint: disable=too-few-public-methods
|
||||
# pylint: disable=too-many-arguments
|
||||
# pylint: disable=too-many-branches
|
||||
# pylint: disable=too-many-instance-attributes
|
||||
# pylint: disable=too-many-lines
|
||||
# pylint: disable=too-many-locals
|
||||
# pylint: disable=too-many-nested-blocks
|
||||
# pylint: disable=too-many-statements
|
||||
# pylint: disable=ungrouped-imports
|
||||
# pylint: disable=unused-import
|
||||
# pylint: disable=wrong-import-order
|
||||
# pylint: disable=wrong-import-position
|
||||
#
|
||||
import sys
|
||||
if sys.version_info.major < 3 and sys.version_info.minor < 7:
|
||||
|
Loading…
Reference in New Issue
Block a user