All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit branch/next] support/testing/tests/package/sample_python_unittest_xml_reporting.py: fix flake8 warnings
@ 2021-11-08 21:12 Arnout Vandecappelle
  0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2021-11-08 21:12 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=38c1c535ad3f2db12d211a60d165836c75bdb52a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Fixes:

support/testing/tests/package/sample_python_unittest_xml_reporting.py:4:1: E302 expected 2 blank lines, found 1
support/testing/tests/package/sample_python_unittest_xml_reporting.py:8:1: E305 expected 2 blank lines after class or function definition, found 1
1     E302 expected 2 blank lines, found 1
1     E305 expected 2 blank lines after class or function definition, found 1

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 support/testing/tests/package/sample_python_unittest_xml_reporting.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/support/testing/tests/package/sample_python_unittest_xml_reporting.py b/support/testing/tests/package/sample_python_unittest_xml_reporting.py
index 8fa92aaccc..cfef4df22a 100644
--- a/support/testing/tests/package/sample_python_unittest_xml_reporting.py
+++ b/support/testing/tests/package/sample_python_unittest_xml_reporting.py
@@ -1,9 +1,11 @@
 import unittest
 import xmlrunner
 
+
 class Test1(unittest.TestCase):
     def test_something(self):
         self.assertTrue(True)
 
+
 if __name__ == '__main__':
     unittest.main(testRunner=xmlrunner.XMLTestRunner(output='test-reports'))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-08 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 21:12 [Buildroot] [git commit branch/next] support/testing/tests/package/sample_python_unittest_xml_reporting.py: fix flake8 warnings Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.