summaryrefslogtreecommitdiff
path: root/dumper.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2016-02-16 21:16:30 +0100
committerAnthon van der Neut <anthon@mnt.org>2016-02-16 21:16:30 +0100
commita5f5028c7d5623a13b392d8e9bdb9be622476f8c (patch)
tree8622585e8067711fcd86cda71d289f46b1309b75 /dumper.py
parent64c39f0c0b38bcac13cb4c31429b5e3caadf278e (diff)
downloadruamel.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 'dumper.py')
-rw-r--r--dumper.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/dumper.py b/dumper.py
index 82334a2..7e188b9 100644
--- a/dumper.py
+++ b/dumper.py
@@ -3,16 +3,15 @@ from __future__ import absolute_import
__all__ = ['BaseDumper', 'SafeDumper', 'Dumper', 'RoundTripDumper']
try:
- from .emitter import *
- from .serializer import *
- from .representer import *
- from .resolver import *
+ from .emitter import * # NOQA
+ from .serializer import * # NOQA
+ from .representer import * # NOQA
+ from .resolver import * # NOQA
except (ImportError, ValueError): # for Jython
- from ruamel.yaml.emitter import *
- from ruamel.yaml.serializer import *
- from ruamel.yaml.representer import *
- from ruamel.yaml.resolver import *
-
+ from ruamel.yaml.emitter import * # NOQA
+ from ruamel.yaml.serializer import * # NOQA
+ from ruamel.yaml.representer import * # NOQA
+ from ruamel.yaml.resolver import * # NOQA
class BaseDumper(Emitter, Serializer, BaseRepresenter, BaseResolver):