-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from zopefoundation/pep8
Fix the code to be pep 8 compliant.
- Loading branch information
Showing
38 changed files
with
272 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,33 @@ | ||
from martian.core import ( | ||
ModuleGrokker, MultiGrokker, MetaMultiGrokker, grok_dotted_name, | ||
grok_package, grok_module, GrokkerRegistry) | ||
from martian.core import ModuleGrokker, MultiGrokker, MetaMultiGrokker | ||
from martian.core import grok_dotted_name, grok_package, grok_module | ||
from martian.core import GrokkerRegistry | ||
from martian.components import GlobalGrokker, ClassGrokker, InstanceGrokker | ||
from martian.components import MethodGrokker | ||
from martian.util import scan_for_classes | ||
from martian.directive import Directive, MarkerDirective, MultipleTimesDirective | ||
from martian.directive import (ONCE, ONCE_NOBASE, ONCE_IFACE, | ||
MULTIPLE, MULTIPLE_NOBASE, DICT) | ||
from martian.directive import CLASS, CLASS_OR_MODULE, MODULE | ||
from martian.directive import UNKNOWN, UnknownError | ||
from martian.directive import ( | ||
validateText, validateInterface, validateClass, validateInterfaceOrClass) | ||
from martian.directive import Directive, MarkerDirective | ||
from martian.directive import MultipleTimesDirective | ||
from martian.directive import ONCE, ONCE_NOBASE, ONCE_IFACE | ||
from martian.directive import MULTIPLE, MULTIPLE_NOBASE, DICT | ||
from martian.directive import CLASS, CLASS_OR_MODULE, MODULE, UNKNOWN | ||
from martian.directive import UnknownError | ||
from martian.directive import validateText, validateInterface | ||
from martian.directive import validateClass, validateInterfaceOrClass | ||
from martian.martiandirective import component, directive, priority, baseclass | ||
from martian.martiandirective import ignore | ||
from martian.context import GetDefaultComponentFactory | ||
|
||
|
||
__all__ = [ | ||
'ModuleGrokker', 'MultiGrokker', 'MetaMultiGrokker', 'grok_dotted_name', | ||
'grok_package', 'grok_module', 'GrokkerRegistry', | ||
'GlobalGrokker', 'ClassGrokker', 'InstanceGrokker', | ||
'MethodGrokker', 'scan_for_classes', | ||
'Directive', 'MarkerDirective', 'MultipleTimesDirective', | ||
'ONCE', 'ONCE_NOBASE', 'ONCE_IFACE', 'MULTIPLE', 'MULTIPLE_NOBASE', 'DICT', | ||
'CLASS', 'CLASS_OR_MODULE', 'MODULE', 'UNKNOWN', 'UnknownError', | ||
'validateText', 'validateInterface', 'validateClass', | ||
'validateInterfaceOrClass', | ||
'component', 'directive', 'priority', 'baseclass', 'ignore', | ||
'GetDefaultComponentFactory' | ||
|
||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,6 @@ | |
|
||
|
||
if sys.version_info[0] < 3: | ||
str = unicode | ||
str = unicode # NOQA | ||
else: | ||
str = str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.