Commit 00d6cecc authored by Jérome Perrin's avatar Jérome Perrin

wip pylint

parent 1ec78c0b
......@@ -15,4 +15,4 @@
[template]
filename = instance.cfg
md5sum = dc5147f79fe16817df54c773ac9364a1
md5sum = 608c6122d4a359d83325e4d7db897a4f
......@@ -90,8 +90,6 @@ template =
[REPORTS]
reports = no
score = no
# TODO: this is output format during development
#output-format = colorized
[MESSAGES CONTROL]
disable =
......@@ -107,7 +105,8 @@ template =
mixed-indentation,
unused-variable,
unused-import,
redundant-unittest-assert
redundant-unittest-assert,
useless-suppression
[TYPECHECK]
# XXX can we do better than this ?
......@@ -135,6 +134,7 @@ workdir = $${create-directory:nxdtest-working-dir}
template =
inline:
import glob
import sys
TestCase(
"kedifa",
......@@ -309,7 +309,7 @@ template =
if sys.version_info >= (3, ):
TestCase(
"rubygemsrecipe:pylint",
['python', '-m', 'pylint', 'rubygemsrecipe'],
['python', '-m', 'pylint', 'tests', ] + glob.glob("""$${rubygemsrecipe:location}/*.py"""),
cwd="""$${rubygemsrecipe:location}""",
summaryf=UnitTest.summary,
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment