diff options
author | Anthon van der Neut <anthon@mnt.org> | 2016-02-16 21:16:30 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2016-02-16 21:16:30 +0100 |
commit | a5f5028c7d5623a13b392d8e9bdb9be622476f8c (patch) | |
tree | 8622585e8067711fcd86cda71d289f46b1309b75 /__init__.py | |
parent | 64c39f0c0b38bcac13cb4c31429b5e3caadf278e (diff) | |
download | ruamel.yaml-a5f5028c7d5623a13b392d8e9bdb9be622476f8c.tar.gz |
- make sure there is a space before # if scalar pushes (through indent)
a comment from its original column
- flake 8
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/__init__.py b/__init__.py index 73617c9..ffb5f39 100644 --- a/__init__.py +++ b/__init__.py @@ -9,7 +9,7 @@ from __future__ import absolute_import _package_data = dict( full_package_name="ruamel.yaml", - version_info=(0, 10, 20), + version_info=(0, 10, 21), author="Anthon van der Neut", author_email="a.van.der.neut@ruamel.eu", description="ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order", # NOQA @@ -19,7 +19,7 @@ _package_data = dict( py26=["ruamel.ordereddict"], py27=["ruamel.ordereddict"] ), - ext_modules=[ dict( + ext_modules=[dict( name="_ruamel_yaml", src=["ext/_ruamel_yaml.c", "ext/api.c", "ext/writer.c", "ext/dumper.c", "ext/loader.c", "ext/reader.c", "ext/scanner.c", "ext/parser.c", @@ -70,17 +70,14 @@ __version__ = _convert_version(version_info) del _convert_version try: - from .cyaml import * + from .cyaml import * # NOQA __with_libyaml__ = True except (ImportError, ValueError): # for Jython __with_libyaml__ = False -import sys # body extracted to main.py try: - from .main import * + from .main import * # NOQA except ImportError: - from ruamel.yaml.main import * - - + from ruamel.yaml.main import * # NOQA |