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

wip pylint

parent 1ec78c0b
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
[template] [template]
filename = instance.cfg filename = instance.cfg
md5sum = dc5147f79fe16817df54c773ac9364a1 md5sum = 608c6122d4a359d83325e4d7db897a4f
...@@ -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