Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F2822825
python.mk
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
python.mk
View Options
#
# Copyright 2024 the Pacemaker project contributors
#
# The version control history for this file may have further details.
#
# This source code is licensed under the GNU General Public License version 2
# or later (GPLv2+) WITHOUT ANY WARRANTY.
#
.PHONY: pylint
pylint: $(PYCHECKFILES)
PYTHONPATH=$(abs_top_builddir)/python \
pylint --rcfile $(top_srcdir)/python/pylintrc $(PYCHECKFILES)
# Disabled warnings:
# W503 - Line break occurred before a binary operator
# (newer versions of pyflake and PEP8 want line breaks after binary
# operators, but older versions still suggest before)
# E402 - Module level import not at top of file
# (pylint already warns about this, and we shouldn't need to add
# ignore pragmas for two tools)
# E501 - Line too long
# F401 - Imported but not used
# (pylint already warns about this, and we shouldn't need to add
# ignore pragmas for two tools)
#
# Disable docstrings warnings on unit tests.
.PHONY: pyflake
pyflake: $(PYCHECKFILES)
PYTHONPATH=$(abs_top_builddir)/python \
flake8 --ignore=W503,E402,E501,F401 --per-file-ignores="tests/*:D100,D101,D102,D104" $(PYCHECKFILES)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 25, 6:42 AM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1301957
Default Alt Text
python.mk (1 KB)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment