Matt Clay
6645054329
Code cleanup for test infrastructure. ( #59046 )
...
* Remove useless object inheritance in test code.
* Remove unnecessary pass statements from test code.
* Comment on why certain pylint rules are ignored.
* Add more pylint test contexts.
* Fix import order.
* Remove unused variables.
* Remove unnecessary pass statement.
* Fix bad continuations.
* Remove unnecessary elif.
* Allow legitimate broad except statements.
* Allow legitimate protected access.
* Clean up names to make pylint pass.
2019-07-12 13:17:20 -07:00
Matt Clay
3f2b766d10
Add future and metaclass boilerplate to test code.
...
Continue to ignore:
- test/integration/
- test/legacy/
- test/units/
2019-07-12 09:18:24 -07:00
Jordan Borean
7bce6818eb
Added supershipit to botmeta sanity test ( #50219 )
2018-12-21 10:36:43 +10:00
John R Barker
e7da4975cc
Botmeta validate path macros ( #48980 )
...
BOTMETA validation - use path macros
Rather than hard coding the list of path macros, read them directly from
BOTMETA
2018-11-21 11:15:56 +00:00
John R Barker
f4f5d941e5
botmeta support: core ( #45917 )
...
* botmeta enforce `support: core`
2018-09-25 18:37:01 +01:00
Matt Clay
e7426e3795
Minor cleanup of code-smell tests. ( #45658 )
...
* Minor cleanup of code-smell tests.
* Add exception handling for YAML load.
2018-09-14 11:12:06 -07:00
John R Barker
822236810e
BOTMETA Validator + Bulk tidyup, support:(core,community,network) ( #44903 )
...
plugins/ is COMMUNITY
Set sensible defaults for directories
support:network for the platforms that we Networking SUPPORTS,
everything else is COMMUNITY
Mark other support:network (ansible-connection, etc)
Infoblox is support:core
contrib/ by definition should be support:community
Remove duplicated labels
Make yamllint happy(ier)
Adds sanity test to ensure BOTMETA.yml is valid
2018-09-14 12:33:23 +01:00