mirror of
https://github.com/opencv/opencv.git
synced 2025-07-30 17:37:05 +08:00

* Adding CMake script to check if pylint is installed * Adding Pylint config file (to choose the tests that are enabled) * Adding CMake script to samples/python/tutorial_code Testing: bad-indentation, mixed-indentation, unnecessary-semicolon, unused-variable
17 lines
572 B
INI
17 lines
572 B
INI
[MESSAGES CONTROL]
|
||
|
||
# Disable all to choose the Tests one by one
|
||
disable=all
|
||
|
||
# Tests
|
||
enable=bad-indentation, # Used when an unexpected number of indentation’s tabulations or spaces has been found.
|
||
mixed-indentation, # Used when there are some mixed tabs and spaces in a module.
|
||
unnecessary-semicolon, # Used when a statement is ended by a semi-colon (”;”), which isn’t necessary.
|
||
unused-variable # Used when a variable is defined but not used. (Use _var to ignore var).
|
||
|
||
|
||
[REPORTS]
|
||
|
||
# Activate the evaluation score.
|
||
score=no
|