Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
header_includes_audit.py File Reference

Go to the source code of this file.

Namespaces

namespace  header_includes_audit
 

Functions

 header_includes_audit.strip_comments (text)
 
 header_includes_audit.read (path)
 
 header_includes_audit.supplied_by (path)
 
 header_includes_audit.resolve (inc, from_dir)
 
 header_includes_audit.closure (header, seen=None)
 
 header_includes_audit.audit (header)
 
 header_includes_audit.main ()
 

Variables

 header_includes_audit.REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 
 header_includes_audit.SRC = os.path.join(REPO, "src")
 
 header_includes_audit.COMMENT_BLOCK = re.compile(r"/\*.*?\*/", re.S)
 
 header_includes_audit.COMMENT_LINE = re.compile(r"//[^\n]*")
 
 header_includes_audit.INCLUDE_LINE = re.compile(r'^\s*#\s*include\s+"([^"]+)"', re.M)
 
list header_includes_audit.DECLARE
 
 header_includes_audit.ENUM_MEMBER = re.compile(r"^\s*([A-Z][A-Z0-9_]{2,})\s*(?:=|,|$)")
 
dict header_includes_audit.NOISE