Commit 9b12b616 authored by Jérome Perrin's avatar Jérome Perrin

wip pylint

parent 4077525d
......@@ -15,4 +15,4 @@
[template]
filename = instance.cfg
md5sum = bbdd2f8cdf8f7bba34d5651f7938b170
md5sum = 2163e3ae6e2b66eef36114c22bf03988
......@@ -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