summaryrefslogtreecommitdiff
path: root/emitter.py
Commit message (Collapse)AuthorAgeFilesLines
* edge case for 4590.17.26Anthon van der Neut2023-05-091-2/+2
|
* fix issue: 4590.17.25Anthon van der Neut2023-05-091-25/+35
|
* fixes issue: 458,454, stackoverflow reportsAnthon van der Neut2023-05-051-18/+34
|
* Merge 449_secondary_tag_url_encAnthon van der Neut2023-05-011-1/+2
|\
| * Fix secondary tag encoding. See #449449_secondary_tag_url_encJohn Stark2023-01-051-1/+2
| | | | | | | | | | The second exclamation mark was getting url encoded, when it should be preserved. Added a regression test.
* | retrofitted 0.18 changesAnthon van der Neut2023-05-011-250/+176
|/
* fix issue 414 dateime fraction >= 99999950.17.20Anthon van der Neut2022-01-031-1/+1
|
* fix mypy issues emitter.py0.17.19Anthon van der Neut2021-12-261-5/+5
|
* fix indent for empty seq/map0.17.18Anthon van der Neut2021-12-241-14/+38
|
* fix 385 (missing attribute) and mypy issues0.17.6Anthon van der Neut2021-05-311-6/+6
|
* fix for issue 3840.17.5Anthon van der Neut2021-05-301-5/+6
| | | | aliased scalars in !!set would not round trip with ?
* removed (object), prepare new RTScannerAnthon van der Neut2021-04-191-12/+25
|
* remove support for 2.7, prepare for f-strings0.17.0Anthon van der Neut2021-03-261-3/+15
|
* remove python 2 specific codeAnthon van der Neut2021-03-091-177/+203
| | | | add future deprecation warning to old style functions
* last release supporting 2.70.16.13Anthon van der Neut2021-03-051-0/+7
|
* udpate setup.py to workaround issue in setuptools0.16.11Anthon van der Neut2020-09-031-3/+3
| | | | https://github.com/pypa/setuptools/issues/2355#issuecomment-685159580
* empty string mapping key preservationAnthon van der Neut2019-11-261-1/+2
| | | | Would convert to explicit key (? '')
* output of # in TAG directive0.16.4Anthon van der Neut2019-08-161-9/+12
| | | | | | | fixes issue #307 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* mypy, split contruct_object0.16.3Anthon van der Neut2019-08-151-2/+2
| | | | | | | | fixes issue #306 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* allow # in 1.2 URI's0.16.2Anthon van der Neut2019-08-151-2/+8
| | | | | | | fixes issue #305 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* preserve directives, optional push root level scalar to own lineAnthon van der Neut2019-08-151-0/+4
| | | | | | | | | | You need to set YAML().scalar_after_indicator = False to get a single scalar document starting on its own line (instead of after the directives end indicator: --- abc") fixes issue #304 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* typoAnthon van der Neut2019-07-241-1/+1
|
* fix comments on anchored nodes in block sequence0.15.95Anthon van der Neut2019-05-161-2/+3
| | | | fixes issue #288
* fix issue #279 block sequence elements with flow mapping collapsed0.15.89Anthon van der Neut2019-02-271-0/+4
| | | | | *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* fix issue #280 namedtuple erorring in error generation on safe_dumpAnthon van der Neut2019-02-271-5/+5
| | | | | *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* fix issue with roundtripping mappings keys that are aliases to scalar strings0.15.83Anthon van der Neut2019-01-021-2/+7
|
* preserve anchors on scalars, on tagged objects0.15.82Anthon van der Neut2018-12-281-2/+7
| | | | | | | | fixes issue #63 fixes issue #266 *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* roundtrip anchors/aliases on str, int, floatAnthon van der Neut2018-12-271-4/+7
|
* fix for issue with folds after (and before) spaces being emitted as BEL ↵0.15.80Anthon van der Neut2018-11-261-5/+8
| | | | character instead of discarding
* fixes issue #254 single question mark not dumped with quotes0.15.75Anthon van der Neut2018-10-271-0/+2
| | | | | | | | | introduced re issue #62 for version 0.15.27 test in ruamel.yaml.data/special/single_indicator.yaml *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* update for mypy, documentationAnthon van der Neut2018-10-161-1/+1
|
* add .compact() to set non-compacting for sequence/mapping within sequence0.15.73Anthon van der Neut2018-10-161-5/+15
|
* fix issue #249 irregular output on pre-comment and seq within seqAnthon van der Neut2018-10-161-8/+12
| | | | | *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* fix issue #241 incorrect emit of literal scalars with indent indicationAnthon van der Neut2018-09-261-3/+4
| | | | | | | | test in yaml.data/literal_non_root_indent_indicator.yaml *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* fix issue 236 newline without proper following indent on nested flow-style ↵Anthon van der Neut2018-09-201-1/+1
| | | | | | | sequences. *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
* Stop explicitly-indented literals from stacking with flow-based indents.sixolet2018-09-111-4/+5
| | | | | | | | Previously, when the emitter was writing a literal with an explicit indent, it would also apply the current block indent, which is incorrect. Now it only applies the explicit indent. This bug was introduced in https://bitbucket.org/ruamel/yaml/commits/b57e2dd549e2b561cb0b418a180365c1fde2722a
* add key and reverse parameter to CommentedSeq.sort()Anthon van der Neut2018-09-011-1/+1
| | | | suggested via email by Jannik Klemm
* rt of doc with root literal and embedded directive/document endAnthon van der Neut2018-09-011-11/+34
|
* default to non-braced single item mappings in flow sequences0.15.64Anthon van der Neut2018-08-301-14/+40
|
* fix #158 folded scalars not roundtripping0.15.61Anthon van der Neut2018-08-231-2/+6
|
* updates for mypy and remove print statementsAnthon van der Neut2018-08-181-4/+4
|
* allow simple mappings as mapping keysAnthon van der Neut2018-08-161-1/+4
|
* fix issue 102 now also for empty mappings with comments0.15.54Anthon van der Neut2018-08-131-4/+4
| | | | | *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so usingthe WorkFlow pull-down (close to the top right of this page)*
* fix issue #160 flow mapping in sequence with comment gobbling newline0.15.53Anthon van der Neut2018-08-121-1/+2
| | | | | *When this change indeed resolves your problem, please **Close** his issue*. *(You can do so usingthe WorkFlow pull-down (close to the top right of this page)*
* fix issue #216: adding spaces when empty line and shrinking keyAnthon van der Neut2018-08-081-1/+5
|
* added context manager, mypy cleanup (w. Optional) added tests0.15.50Anthon van der Neut2018-08-051-6/+6
|
* mypy lagging again...Anthon van der Neut2018-08-051-2/+2
|
* leading empty lines and comments on root level literal scalars not preserved0.15.49Anthon van der Neut2018-08-051-3/+9
| | | | | | | | added test, fixed both now you can have --- !some_tag | # with a comment this is a multi- line literal scalar
* Apply oitnb and mypy 0.620, then make everything work again0.15.48Anthon van der Neut2018-08-031-155/+249
|
* re-added test to make sure C-Compiler is available0.15.41Anthon van der Neut2018-06-271-1/+1
|