Skip to content

Running Syntax Checks

Germán Felipe Giraldo Villa edited this page Apr 27, 2021 · 5 revisions

T0 uses pylint to check for syntax error and to comply with WMCore coding conventions. In order to run syntax checks, you will need to download WMCore/standards/.pylintrc. You may try something like this:

curl -s https://raw.githubusercontent.com/dmwm/WMCore/master/standards/.pylintrc > ./.pylintrc

pylint --rcfile=./.pylintrc T0/src/python/T0Component/

Fix every error that pylint identifies, and try to reduce the number of warnings as much as possible.

Useful links:

Clone this wiki locally