summaryrefslogtreecommitdiff
path: root/comments.py
Commit message (Collapse)AuthorAgeFilesLines
...
* more float stuff and mypy changesAnthon van der Neut2017-08-061-0/+1
|
* fix for issue #143: handling single excl mark tags0.15.22Anthon van der Neut2017-07-281-0/+3
| | | | There were no tests for roundtripping tags for non-registered objects
* update to flake8==3.3.0 with --ignore F405Anthon van der Neut2017-07-121-6/+6
|
* correct typing info on comment TokenAnthon van der Neut2017-06-271-1/+1
| | | | | | | fixes issue #136: reported by Manvendra Singh Please close this issue if you can confirm it solves the reported problem (this should be in > 0.15.15 when it comes out)
* fix issue # 123: type annotations0.15.2Anthon van der Neut2017-06-071-2/+6
| | | | mypy needed updating from 0.501 to 0.511, with may different warnings/errors then before
* preserve value type, support pathlib.Path as streamAnthon van der Neut2017-05-291-1/+22
|
* fix __deepcopy__ class hardcoding in CommentedSeq and CommentedMapConstantine Evans2017-05-081-2/+2
|
* typing no longer needed, fix issue #117 (2.6 support)0.14.9Anthon van der Neut2017-04-221-2/+1
|
* fix issue #116: Text not available in 3.5.0/3.5.10.14.8Anthon van der Neut2017-04-191-1/+4
| | | | If this solves the issue for you, please close it.
* update for mypy --strict, prepare de-inheritance (Loader/Dumper)0.14.0Anthon van der Neut2017-03-211-4/+4
|
* some changes for mypy --strictAnthon van der Neut2017-03-161-18/+134
|
* fix #84, deepcopy not working (reported by Peter Amstutz)0.13.5Anthon van der Neut2016-12-251-0/+26
| | | | added test, implemented __deepcopy__ on CommentedMap and CommentedSeq
* addresses #25 comment after empty (null) values0.13.2Anthon van der Neut2016-11-281-1/+3
| | | | can remove comment between key en value
* memory usage optimisations0.13.1Anthon van der Neut2016-11-221-14/+15
|
* fix #6: non-safe load() now issues warning0.13.0Anthon van der Neut2016-11-201-1/+31
| | | | added method to add before/after comments on specific keys
* comments.py: Remove debug messageJean-christophe Fillion-Robin2016-11-031-1/+0
| | | | This commit removes a debug message inadvertently introduced in a9abad0
* round-trip sequence key elements0.12.14Anthon van der Neut2016-09-211-2/+45
|
* removed print statementAnthon van der Neut2016-09-151-1/+0
|
* fix for issue #60, merges not printing correctly0.12.13Anthon van der Neut2016-09-151-0/+6
| | | | reported by Tal Liron
* fix merge, iteration, reused anchors0.12.3Anthon van der Neut2016-08-181-13/+124
|
* added .keys(), items(), values(), corrected __contains__Anthon van der Neut2016-08-171-2/+94
| | | | | | | | | | There was a huge problem with 3.4 and 3.3 as the OrderedDict does not define a __contains__ and the implementation based on the one by Ngo would not work with merge keys defining keys that later were in the main dict (which should override). Fix was to add the merge key info at the point the dict has been completely created, thus restricting __contains__ automatically to the dict itself (and not test subkeys)
* operator "in" for merged mapsAnthon van der Neut2016-08-171-0/+8
|
* initial type info, drop 2.60.12.0Anthon van der Neut2016-08-151-9/+4
|
* allow insert in CommentedMap (Py3) and add comment0.11.11Anthon van der Neut2016-05-021-0/+8
| | | | | | | | The insert() would only be available for CommentedMap on Py2 (thanks to ruamel.ordereddict). The standard library lacks this functionality. The method was added in the compatibility layer, and on CommentedMap the optional comment parameter allows directly setting an end-of-line comment on the inserted key.
* pep8 compliance, util.load_yaml_guess_indent0.11.2Anthon van der Neut2016-02-271-3/+22
|
* - added CommentedSeq insert and pop with moving comments0.10.23Anthon van der Neut2016-02-171-0/+17
| | | | (issue brought up by Michael Sarahan)
* - make sure there is a space before # if scalar pushes (through indent)Anthon van der Neut2016-02-161-3/+6
| | | | | a comment from its original column - flake 8
* Jython compatibilityAnthon van der Neut2015-10-081-1/+7
|
* Fix issue 9: return tuple from lc.item(idx)Anthon van der Neut2015-09-141-1/+1
|
* Fix issue 9Anthon van der Neut2015-09-141-0/+35
| | | | Added possibility to store and retrieve mapping and sequence element positions
* - main problem in moving stuff from yaml/py to yaml was thatAnthon van der Neut2015-08-281-0/+393
parser.py clashes with built-in parser module (CPython, C-module) which is inlucded from pkg_resources/__init__.py - no C compile yet