summaryrefslogtreecommitdiff
path: root/scanner.py
Commit message (Collapse)AuthorAgeFilesLines
* fix issue: 453, 4470.17.24Anthon van der Neut2023-05-061-3/+4
|
* Merge 449_secondary_tag_url_encAnthon van der Neut2023-05-011-3/+10
|\
| * Fix secondary tag encoding. See #449449_secondary_tag_url_encJohn Stark2023-01-051-3/+10
| | | | | | | | | | 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-315/+178
|/
* fix in folded scalar, update ruamel.yaml.clib versionAnthon van der Neut2021-12-241-1/+1
|
* fix 385 (missing attribute) and mypy issues0.17.6Anthon van der Neut2021-05-311-22/+49
|
* fix for issue 3840.17.5Anthon van der Neut2021-05-301-34/+75
| | | | aliased scalars in !!set would not round trip with ?
* * extend EOL token handlingAnthon van der Neut2021-05-061-22/+423
| | | | * extending comment
* removed (object), prepare new RTScannerAnthon van der Neut2021-04-191-11/+5
|
* remove support for 2.7, prepare for f-strings0.17.0Anthon van der Neut2021-03-261-2/+2
|
* remove python 2 specific codeAnthon van der Neut2021-03-091-47/+48
| | | | add future deprecation warning to old style functions
* output of # in TAG directive0.16.4Anthon van der Neut2019-08-161-1/+1
| | | | | | | 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-5/+5
| | | | | | | | 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))*
* move YAML directive info to scanner for TAG parsing of 1.2 URIAnthon van der Neut2019-08-151-1/+3
| | | | | | | | | | | 1.2 URI can contain the "#" character, but parsing for nodes didn't necessarily make the 1.2 version available in time fixes issue #301 *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 tag URI, force use of new clib0.16.1Anthon van der Neut2019-08-081-0/+1
| | | | | | | fixes issue #300 *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))*
* indentation of comments after folded/lit scalars0.15.96Anthon van der Neut2019-05-161-3/+10
| | | | | | | | fixes issue #290 *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 comments on anchored nodes in block sequence0.15.95Anthon van der Neut2019-05-161-1/+21
| | | | fixes issue #288
* add line-break to EOF comment without one0.15.94Anthon van der Neut2019-04-231-0/+4
| | | | | | | fixes issue #286 *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-7/+7
| | | | | *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 #275 not parsing valid flow style mapping with value starting ↵Anthon van der Neut2019-01-081-1/+4
| | | | | | | | | | with value indicator This is only fixed in the pure python version! *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 and minor fixAnthon van der Neut2018-09-091-5/+5
|
* fix issue #234 safe_load inserting a fold indicator character0.15.66Anthon van der Neut2018-09-071-14/+9
| | | | | *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))*
* roll out new version, with some fixes/enhancements0.15.65Anthon van der Neut2018-09-071-1/+1
|
* Fix whitespacesixolet2018-09-061-4/+4
|
* Respond to comments on PR; leave errors for parser to find.sixolet2018-09-061-9/+9
|
* Change an unmatched closing bracket from an IndexError to a ScannerError.sixolet2018-09-051-1/+5
| | | | Since it's a problem with the user's document, it should be some kind of YAMLError at least.
* caching indirected method call for minor speed improvements on reading, re #159Anthon van der Neut2018-09-011-131/+169
|
* fix #158 folded scalars not roundtripping0.15.61Anthon van der Neut2018-08-231-1/+3
|
* cleanupAnthon van der Neut2018-08-211-4/+1
|
* some minor speed ups through removal of indirection overhead, re #159Anthon van der Neut2018-08-201-7/+15
|
* fix issue #219 breakage on single entry map as flow sequence element0.15.60Anthon van der Neut2018-08-181-1/+2
| | | | | *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))*
* updates for mypy and remove print statementsAnthon van der Neut2018-08-181-1/+1
|
* fix issue #220 error when running code with Python -O0.15.56Anthon van der Neut2018-08-151-1/+2
|
* fix issue 102 now also for empty mappings with comments0.15.54Anthon van der Neut2018-08-131-15/+5
| | | | | *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 #172 compact JSON no longer parsingAnthon van der Neut2018-08-121-10/+28
| | | | | | | | | | This was quite intrusive, because loosing the tests surrounding the colon made flow style lists with ::vector as key fail. Had to keept track of whether in a flow-style mapping or sequence to get this solved *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)*
* mypy lagging again...Anthon van der Neut2018-08-051-3/+1
|
* leading empty lines and comments on root level literal scalars not preserved0.15.49Anthon van der Neut2018-08-051-1/+10
| | | | | | | | 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-302/+390
|
* fixes issue #201: decoding UnicodeAnthon van der Neut2018-06-171-1/+1
| | | | | *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 for '{"in":{},"out":{}}' no longer parsing, reported by mjalkio on so0.15.30Anthon van der Neut2017-08-141-1/+1
|
* fix lists within lists with commentsAnthon van der Neut2017-08-131-10/+27
| | | | had to keep emit the comment and mark it for having been emitted, then reset on next run (as with maps)
* fix for indenting non-indented sequence after commentAnthon van der Neut2017-08-091-1/+1
| | | | | | - solves several expected to fail and fixes two incorrect tests (test_09-Sammy Sosa & test_before_nested_seq_from_scratch) - still swaps foo and bar on test_issue_25_03
* remove debug statementsAnthon van der Neut2017-08-091-1/+1
|
* python 2.7 changes float round-trippignAnthon van der Neut2017-08-071-0/+1
|
* added register_class/yaml_object0.15.19Anthon van der Neut2017-07-131-21/+30
|
* update to flake8==3.3.0 with --ignore F405Anthon van der Neut2017-07-121-36/+32
|
* level zero literals, renamed plug-in, mypy updatesAnthon van der Neut2017-06-231-1/+1
|
* top-level folded/literal scalar col-00.15.6Anthon van der Neut2017-06-101-2/+18
|
* fix reset of scanner, reader, parser on multi-load0.15.5Anthon van der Neut2017-06-081-0/+2
|
* fix issue # 123: type annotations0.15.2Anthon van der Neut2017-06-071-2/+2
| | | | mypy needed updating from 0.501 to 0.511, with may different warnings/errors then before