Fixed E122 flake8 errors

continuation line missing indentation or outdented
This commit is contained in:
Andras Tim
2017-07-17 01:25:07 +02:00
parent 0be97624b7
commit 425665cf25
6 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1093,8 +1093,8 @@ class Config(object):
if myver < ver:
raise pytest.UsageError(
"%s:%d: requires pytest-%s, actual pytest-%s'" %(
self.inicfg.config.path, self.inicfg.lineof('minversion'),
minver, pytest.__version__))
self.inicfg.config.path, self.inicfg.lineof('minversion'),
minver, pytest.__version__))
def parse(self, args, addopts=True):
# parse given cmdline arguments into this config object.
+3 -3
View File
@@ -70,9 +70,9 @@ def pytest_cmdline_parse():
debugfile = open(path, 'w')
debugfile.write("versions pytest-%s, py-%s, "
"python-%s\ncwd=%s\nargs=%s\n\n" %(
pytest.__version__, py.__version__,
".".join(map(str, sys.version_info)),
os.getcwd(), config._origargs))
pytest.__version__, py.__version__,
".".join(map(str, sys.version_info)),
os.getcwd(), config._origargs))
config.trace.root.setwriter(debugfile.write)
undo_tracing = config.pluginmanager.enable_tracing()
sys.stderr.write("writing pytestdebug information to %s\n" % path)