The panko.hacking.checks Module

The panko.hacking.checks Module

Guidelines for writing new hacking checks

  • Use only for Panko specific tests. OpenStack general tests should be submitted to the common ‘hacking’ module.

  • Pick numbers in the range X3xx. Find the current test with the highest allocated number and then pick the next value.

  • Keep the test method code in the source file ordered based on the C3xx value.

  • List the new rule in the top level HACKING.rst file


Disallow ‘LOG.warn(‘



Disallow ‘os.popen(‘

Deprecated library function os.popen() Replace it using subprocess


Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.