-
Notifications
You must be signed in to change notification settings - Fork 27
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
KibbleConfigParser #74
Conversation
Apologize for the dirty commit log, took me a second to realize |
Not sure why CI error is persisting, working tree is clean even after |
Have you done |
Yes, I run the commands as follows: $ pre-commit run --all-files
$ git add .
$ git commit -m "msg"
$ git push origin master This is the output of the (home) Sharvils-MacBook-Pro:kibble sharvilkekre$ pre-commit run --all-files
Check Yaml...............................................................Passed
Fix End of Files.........................................................Passed
Trim Trailing Whitespace.................................................Passed
Fix python encoding pragma...............................................Passed
Add license for all other files..........................................Passed
Add license for all rst files............................................Passed
Add license for all md and html files................(no files to check)Skipped Am I missing something? |
I apologize for the delay. Still getting used to the repo workflow 😅. Let me know if there is anything I left out. |
@skekre98 would you mind refactoring |
Could you elaborate on this a bit? Are you looking for me to refactor |
Once we have configuration file for Kibble we should use it in the application:
This will also required some refactor of the setup script + docker-compose to be sure it works. Let me know if you would like to try do this or should we merge this PR as it is. |
Should we perhaps merge this, and address |
I've made
KibbleConfigParser
a subclass ofconfigparser.ConfigParser
. Currently the class is assuming that theini
file has been configured correctly. Let me know if you'd like me to do some error handling if this is not the case.The usage of this class is as follows:
Output
I have also created a class variable called uri which is in the format dbname://host:port. Let me know if this is the format you were looking for.