aboutsummaryrefslogtreecommitdiffstats
path: root/config_file/parsers/base_parser.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove depreciated stringify() methodEugene Triguba2023-11-051-32/+51
|
* Move parsers to parsers directoryEugene Triguba2020-11-261-0/+181
|
* Redo package to have a flat package structureEugene Triguba2020-08-051-98/+0
| | | | | | By having a flat package structure like this, it'll avoid exposing packages and things we don't want to be exposed.
* Lint filesEugene Triguba2020-08-011-6/+3
|
* Fix `get`, `set`, `delete` and `has` in BaseParserEugene Triguba2020-07-291-12/+27
|
* Add BaseParser for all other parsersEugene Triguba2020-07-201-0/+86
| | | | | | This allows one implementation for all parsers, with the parsers overriding it for a custom one if needed for that parser.
* Remove zsh info and add extras sub headerEugene Triguba2020-07-191-75/+0
|
* Add return type hints to BaseParserEugene Triguba2020-07-121-2/+2
|
* Add types to base parser and update build badgeEugene Triguba2020-06-201-6/+6
|
* Add more type hints to ConfigFile and lint all filesEugene Triguba2020-06-201-1/+0
|
* Add python 3.5 support, ConfigFileError, and more type hintsEugene Triguba2020-06-201-3/+0
| | | | | Also, get_all, set_all, and delete_all in JsonParser have been renamed to just all.
* Add default + return_type param to get(), turn off automatic parsingEugene Triguba2020-02-091-2/+2
|
* Add type hints + contents is now content in BaseParserEugene Triguba2020-02-021-4/+4
|
* Remove _split_on_dot from base parser and add it to utilsEugene Triguba2020-01-171-20/+1
| | | | | Also, change the default behavior to split on every dot and split on only the last dot if specified
* Expose private attrs and methods in base parserEugene Triguba2020-01-171-10/+33
| | | | | | | | | Also, has_section and has_key are now has() since some formats may not have sections. parse() and self.contents are now public. _split_on_dot helper method is added.
* Add a base parser for the concrete parser implementationsEugene Triguba2020-01-041-0/+75