Fix master build
TeamCity is running the latest version of flake8 which is catching more syntax errors. This changes fixes those new errors. As part of this change we are also running the syntax checks against the tests and integrations directories.
This commit is contained in:
@@ -908,6 +908,6 @@ class IndexEntries():
|
||||
"""
|
||||
|
||||
return {
|
||||
'source': self.source.url,
|
||||
'packages': self.packages
|
||||
'source': self.source.url,
|
||||
'packages': self.packages
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
import pytest
|
||||
|
||||
import pytest
|
||||
from common import exec_command
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import os
|
||||
|
||||
from common import exec_command
|
||||
from dcos.api import util
|
||||
|
||||
from common import exec_command
|
||||
|
||||
|
||||
def test_help():
|
||||
returncode, stdout, stderr = exec_command(['dcos', '--help'])
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import os
|
||||
|
||||
from common import exec_command
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import pytest
|
||||
from dcos.api import cmds, errors
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def args():
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import pytest
|
||||
from dcos.api import config
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def conf():
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import pytest
|
||||
from dcos.api import errors, jsonitem
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(params=range(6))
|
||||
def bad_object(request):
|
||||
|
||||
Reference in New Issue
Block a user