Activity for Sven Stegemann

  • Sven Stegemann Sven Stegemann posted a comment on ticket #566

    example.yaml contained a typo. Here is the corrected version

  • Sven Stegemann Sven Stegemann posted a comment on ticket #566

    To reproduce the bug: def test_example(tmp_path: Path): import ruamel.yaml input_file = Path("example.yaml") yaml = ruamel.yaml.YAML() correctly_parsed = yaml.load(open(input_file, "r")) incorrectly_parsed = yaml.load(input_file) output_path_correct = tmp_path / "correct.yaml" output_path_incorrect = tmp_path / "incorrect.yaml" yaml.dump(correctly_parsed, output_path_correct) yaml.dump(incorrectly_parsed, output_path_incorrect) # This assertion fails, because incorrect.yaml contains additional CR...

  • Sven Stegemann Sven Stegemann created merge request #14 on Code

    Fix #566: RoundTripScanner incorrectly scans comments with CRLF line endings

  • Sven Stegemann Sven Stegemann created ticket #566

    RoundTripScanner incorrectly scans comments with CRLF line endings

  • Sven Stegemann Sven Stegemann committed [e6286b] on ruamel.yaml - Code

    Fix scanning of CRLF in RoundTripScanner: Scan line break with self.scan_line_break() instead of srf()

  • Sven Stegemann Sven Stegemann committed [260833] on ruamel.yaml - Code

    Fix scanning of CRLF in RoundTripScanner: Add tests

1
MongoDB Logo MongoDB