Skip to content
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

Consider passing settings object back and forth, rather than individual values #13

Open
matt-bernhardt opened this issue Apr 7, 2019 · 0 comments

Comments

@matt-bernhardt
Copy link
Owner

CodeClimate is flagging two calls in command_line.py as being too similar, because they have basically the same arguments.

https://github.com/matt-bernhardt/mais/blob/master/mais/command_line.py#L69-L71
https://github.com/matt-bernhardt/mais/blob/master/mais/command_line.py#L77-L79

It seems like a way around this flag is to pass the entire settings object into methods, rather than individual values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant