summaryrefslogtreecommitdiffstats
path: root/tools/enable-pre-commit-hook.sh
diff options
context:
space:
mode:
authorAttila Fazekas <afazekas@redhat.com>2013-02-05 17:51:17 +0100
committerAttila Fazekas <afazekas@redhat.com>2013-02-13 17:05:09 +0100
commit5dd5625d976603bcba8152c0476290d0aa81f5d7 (patch)
treea571d1c0d1ac53f5886f938b7b2d7a6c9e9b7831 /tools/enable-pre-commit-hook.sh
parent635faddd3744179b0b87666c08e50b97366bfe3e (diff)
Module import style checking changes
* Implementing the * import detection (it is disabled for now) * New style relative import testing based on syntax rules * Old style relative import testing based on module search * Inspection based solution replaced by PYTHONPATH search in order to avoid module compile and initialization steps (code execution) in a syntax checking phase. This solution is faster and safer, but does not able to recognize modules added dynamically to the module scope. Change-Id: Ifc871f4fdbcd4a9a736170ceb4475f4f2cbe66bc
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions