Simplify namespaces #102

Merged
merged 4 commits into from Jan 3, 2017

Projects

None yet

2 participants

@tyarkoni
Owner
tyarkoni commented Jan 3, 2017

Overhauls the transformer namespaces so that all Transformer instances can now be accessed directly from the .extractors, .filters, and .converters modules, respectively. A secondary benefit of listing all subclasses of each type in __all__ is that the get_transformer and get_converter methods are now much simpler, since we no longer have to recursively walk each transformer module tree.

added some commits Jan 3, 2017
@tyarkoni improved namespace management 98a553f
@tyarkoni improved Converter namespace 419cc96
@tyarkoni fix get_transformer function and amend imports 9d346fc
@tyarkoni simplified imports and minor fixes
12bf426
@coveralls
coveralls commented Jan 3, 2017 edited

Coverage Status

Coverage decreased (-0.6%) to 78.168% when pulling 12bf426 on simplify-namespaces into 5dbba5a on master.

@tyarkoni tyarkoni merged commit 5e2606c into master Jan 3, 2017

2 of 3 checks passed

coverage/coveralls Coverage decreased (-0.6%) to 78.168%
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@tyarkoni tyarkoni deleted the simplify-namespaces branch Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment