summaryrefslogtreecommitdiff
path: root/loader.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 /loader.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 'loader.py')
-rw-r--r--loader.py25
1 files changed, 12 insertions, 13 deletions
diff --git a/loader.py b/loader.py
index d25a75e..8bc96ae 100644
--- a/loader.py
+++ b/loader.py
@@ -3,20 +3,19 @@ from __future__ import absolute_import
__all__ = ['BaseLoader', 'SafeLoader', 'Loader', 'RoundTripLoader']
try:
- from .reader import *
- from .scanner import *
- from .parser_ import *
- from .composer import *
- from .constructor import *
- from .resolver import *
+ from .reader import * # NOQA
+ from .scanner import * # NOQA
+ from .parser_ import * # NOQA
+ from .composer import * # NOQA
+ from .constructor import * # NOQA
+ from .resolver import * # NOQA
except (ImportError, ValueError): # for Jython
- from ruamel.yaml.reader import *
- from ruamel.yaml.scanner import *
- from ruamel.yaml.parser_ import *
- from ruamel.yaml.composer import *
- from ruamel.yaml.constructor import *
- from ruamel.yaml.resolver import *
-
+ from ruamel.yaml.reader import * # NOQA
+ from ruamel.yaml.scanner import * # NOQA
+ from ruamel.yaml.parser_ import * # NOQA
+ from ruamel.yaml.composer import * # NOQA
+ from ruamel.yaml.constructor import * # NOQA
+ from ruamel.yaml.resolver import * # NOQA
class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor,