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

wip pylint

parent 4077525d
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
[template] [template]
filename = instance.cfg filename = instance.cfg
md5sum = bbdd2f8cdf8f7bba34d5651f7938b170 md5sum = 2163e3ae6e2b66eef36114c22bf03988
...@@ -90,8 +90,6 @@ template = ...@@ -90,8 +90,6 @@ template =
[REPORTS] [REPORTS]
reports = no reports = no
score = no score = no
# TODO: this is output format during development
#output-format = colorized
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable = disable =
...@@ -107,7 +105,8 @@ template = ...@@ -107,7 +105,8 @@ template =
mixed-indentation, mixed-indentation,
unused-variable, unused-variable,
unused-import, unused-import,
redundant-unittest-assert redundant-unittest-assert,
useless-suppression
[TYPECHECK] [TYPECHECK]
# XXX can we do better than this ? # XXX can we do better than this ?
...@@ -135,6 +134,7 @@ workdir = $${create-directory:nxdtest-working-dir} ...@@ -135,6 +134,7 @@ workdir = $${create-directory:nxdtest-working-dir}
template = template =
inline: inline:
import glob
import sys import sys
TestCase( TestCase(
"kedifa", "kedifa",
...@@ -309,7 +309,7 @@ template = ...@@ -309,7 +309,7 @@ template =
if sys.version_info >= (3, ): if sys.version_info >= (3, ):
TestCase( TestCase(
"rubygemsrecipe:pylint", "rubygemsrecipe:pylint",
['python', '-m', 'pylint', 'rubygemsrecipe'], ['python', '-m', 'pylint', 'tests', ] + glob.glob("""$${rubygemsrecipe:location}/*.py"""),
cwd="""$${rubygemsrecipe:location}""", cwd="""$${rubygemsrecipe:location}""",
summaryf=UnitTest.summary, 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