Commit 8505320d authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

Merge branch 'flake8' into 'master'

Switch to flake8

See merge request carleski/python-mcommunity!3
parents d4a84f5b 5a0191b6
from .mcommunity import MCommClient
from .core import MCommError
from .mcommunity import MCommClient # noqa: F401
from .core import MCommError # noqa: F401
......@@ -2,5 +2,5 @@
test=pytest
[tool:pytest]
addopts=-v --pep8
pep8maxlinelength=160
addopts=-v --flake8
flake8-max-line-length=160
......@@ -11,7 +11,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
test_deps = [
'pytest',
'pytest-pep8',
'pytest-flake8',
'flask',
]
......
pytest_plugins = "pep8"
......@@ -2,7 +2,7 @@ import json
import os
import pytest
from unittest import mock
from mcommunity.mcommunity import MCommClient
from mcommunity import MCommClient
data_dir = os.path.join(os.path.dirname(__file__) + '/data/')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment