mirror of
https://github.com/adrienverge/yamllint.git
synced 2024-11-22 07:36:25 -06:00
style: Fix E100 and E202 errors reported by pycodestyle
This commit is contained in:
parent
a92743c8ca
commit
f713dc8be2
@ -3,6 +3,7 @@ universal = 1
|
||||
|
||||
[flake8]
|
||||
import-order-style = pep8
|
||||
application-import-names = yamllint
|
||||
|
||||
[build_sphinx]
|
||||
all-files = 1
|
||||
|
@ -15,6 +15,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from tests.common import RuleTestCase
|
||||
|
||||
from yamllint.parser import token_or_comment_generator, Comment
|
||||
from yamllint.rules.indentation import check
|
||||
|
||||
|
@ -30,10 +30,10 @@ try:
|
||||
except AssertionError:
|
||||
import unittest2 as unittest
|
||||
|
||||
from yamllint import cli
|
||||
|
||||
from tests.common import build_temp_workspace
|
||||
|
||||
from yamllint import cli
|
||||
|
||||
|
||||
@unittest.skipIf(sys.version_info < (2, 7), 'Python 2.6 not supported')
|
||||
class CommandLineTestCase(unittest.TestCase):
|
||||
|
@ -27,11 +27,11 @@ try:
|
||||
except AssertionError:
|
||||
import unittest2 as unittest
|
||||
|
||||
from tests.common import build_temp_workspace
|
||||
|
||||
from yamllint import cli
|
||||
from yamllint import config
|
||||
|
||||
from tests.common import build_temp_workspace
|
||||
|
||||
|
||||
class SimpleConfigTestCase(unittest.TestCase):
|
||||
def test_parse_config(self):
|
||||
|
Loading…
Reference in New Issue
Block a user