-
Notifications
You must be signed in to change notification settings - Fork 26
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 masterThis 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)SkippedAm 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
KibbleConfigParsera subclass ofconfigparser.ConfigParser. Currently the class is assuming that theinifile 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.