Commit Graph

6 Commits

Author SHA1 Message Date
Ed Bartosh
83de1586e0 boilerplate_test:fix pylint warnings
Fixed the following Pylint warnings:

boilerplate_test.py:34:8: R0205: Class 'Args' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
boilerplate_test.py:46:8: W0612: Unused variable 'ret' (unused-variable)
boilerplate_test.py:18:0: C0411: standard import "import unittest" should be placed before "import boilerplate" (wrong-import-order)
boilerplate_test.py:19:0: C0411: standard import "from io import StringIO" should be placed before "import boilerplate" (wrong-import-order)
boilerplate_test.py:20:0: C0411: standard import "import os" should be placed before "import boilerplate" (wrong-import-order)
boilerplate_test.py:21:0: C0411: standard import "import sys" should be placed before "import boilerplate" (wrong-import-order)
2024-01-24 11:05:26 +02:00
Ed Bartosh
4473dfebbf fix boilerplate test
Fixed AttributeError: type object '_io.StringIO' has no attribute 'StringIO'
2024-01-24 11:04:52 +02:00
Ed Bartosh
9dc1da1e5b boilerplate_test: fix bad indentation 2024-01-24 10:36:52 +02:00
kidddddddddddddddddddddd
cb6a1886c0 use python3 in hack 2023-01-12 11:20:41 +08:00
Christoph Blecker
12dbfcbdf3
Fix up failing boilerplate test 2019-08-13 20:21:11 -07:00
Bowei Du
a6550b332e Add verbose mode to boilerplate
hack/verify-boilerplate.sh -v will now print out why the file does
not match along with a diff if possible.

Note: boilerplate.py now has a unit test that is run along with
hack/verify-boilerplate.sh.
2016-10-22 21:40:08 -07:00