summaryrefslogtreecommitdiff
path: root/dotbot/config.py
Commit message (Collapse)AuthorAge
* Fix compatibility with Python 3Anish Athalye2016-01-15
| | | | | This patch removes a stray print statement that was causing problems with Python 3.
* Use file extension to select config file parserAnish Athalye2016-01-13
| | | | | This patch makes Dotbot provide better error messages when parsing JSON files.
* Use standard library JSON parser for JSON filesAnish Athalye2016-01-13
| | | | | | This patch reverts the changes to the README made in 57265f78b4e4f6ca67393f55b2b08f6f45a02ff1 and makes it so that Dotbot supports JSON files with tab characters.
* Use `safe_load` function to load YAMLAnish Athalye2015-08-03
| | | | | | | | In our use case, we are *not* reading arbitrary input that could be malicious. Still, because we know that what we're reading is made up of only dictionaries and lists and not arbitrary Python objects, we might as well use the more restrictive `safe_load` function rather than the `load` function.
* Provide exception information when reading configJoshua Blum2015-04-24
|
* Add YAML supportAnish Athalye2014-10-27
| | | | | | Add support for YAML format configuration files. In addition, this commit adds instructions about YAML config files to the README, and it also changes the README to encourage use of YAML instead of JSON.
* Initial commitAnish Athalye2014-03-20