-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor codebase #45
Conversation
This pull request introduces 2 alerts when merging 45b4caf into 6e035ac - view on LGTM.com new alerts:
|
write one decorator to rule check whether the Wilfred config is present or not. Used on all click-commands where it is required for the configuration to be present
This pull request introduces 1 alert when merging 14b3dac into c467222 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 80dd6cd into c467222 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging ec70337 into 7d32f73 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging c802110 into d3b2eab - view on LGTM.com new alerts:
|
move wilfred/parser to wilfred/api/parser (update imports) move wilfred/server_config to wilfred/api/server_config improve CLI exception handling (add spinner.fail() before ui_exception is called on Halo spinners)
server_config is in wilfred.api.server_config and not wilfred.server_config
server_config is now refactored raises Wilfred exceptions where it makes sense to and custom UnsupportedFiletype exception catch exceptions as ui_exception() in CLI
tests used to create a pseudo configuration dict, to avoid issues this has now been replaced by the actual Config method (from wilfred.api.config_parser)
Great code |
Split codebase into Wilfred CLI and Wilfred API more clearly. Will make it easier to develop an extension system. This is a refactor, no changes to the end-user are planned.
Fixes #42