-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add ini file processor #329
Conversation
test/test_target.py
Outdated
@@ -127,6 +128,19 @@ def test_save_and_load_feather_without_store_index_in_feather(self): | |||
|
|||
pd.testing.assert_frame_equal(loaded, obj) | |||
|
|||
def test_save_and_load_config_ini_file(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maronuu will you remove this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed, Thank you for the comment.
@maronuu lgtm! |
I think you should the reason why you use TextFileProcessor in the PR description. |
Add
.ini
file support forfile_processor
.We use
TextFileProcessor
for.ini
file.In most cases with gokart,
.ini
files are used as config files, and there are some cases that requires you to just dump.ini
config files, likekannon
library development.configparser
orLuigiConfigParser
are seemingly suitable choices, but their functionality are sometimes overwhelming and there should be options on how to parse the loaded config files.So, in order to achieve these kind of requirements, we use
TextFileProcessor
for.ini
format. The loaded files are text, so users can choose how to parse them.