barbican  12.0.0
About: OpenStack Barbican is the OpenStack Key Manager service. It provides secure storage, provisioning and management of secret data.
The "Wallaby" series (latest release).
  Fossies Dox: barbican-12.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

checks.py File Reference

Go to the source code of this file.

Classes

class  barbican.hacking.checks.BaseASTChecker
 
class  barbican.hacking.checks.CheckLoggingFormatArgs
 

Namespaces

namespace  barbican.hacking.checks
 

Functions

def barbican.hacking.checks.check_oslo_namespace_imports (physical_line, logical_line, filename)
 
def barbican.hacking.checks.dict_constructor_with_list_copy (logical_line)
 
def barbican.hacking.checks.no_xrange (logical_line)
 
def barbican.hacking.checks.validate_assertTrue (logical_line)
 
def barbican.hacking.checks.validate_assertIsNone (logical_line)
 
def barbican.hacking.checks.no_log_warn_check (logical_line)
 
def barbican.hacking.checks.validate_assertIsNotNone (logical_line)
 

Variables

 barbican.hacking.checks.oslo_namespace_imports = re.compile(r"from[\s]*oslo[.](.*)")
 
 barbican.hacking.checks.dict_constructor_with_list_copy_re = re.compile(r".*\bdict\((\[)?(\‍(|\[)")
 
 barbican.hacking.checks.assert_no_xrange_re = re.compile(r"\s*xrange\s*\‍(")
 
 barbican.hacking.checks.assert_True = re.compile(r".*assertEqual\(True, .*\‍)")
 
 barbican.hacking.checks.assert_None = re.compile(r".*assertEqual\(None, .*\‍)")
 
 barbican.hacking.checks.assert_Not_Equal = re.compile(r".*assertNotEqual\(None, .*\‍)")
 
 barbican.hacking.checks.assert_Is_Not = re.compile(r".*assertIsNot\(None, .*\‍)")
 
 barbican.hacking.checks.no_log_warn = re.compile(r".*LOG.warn\(.*\‍)")