Skip to content

Commit

Permalink
Pep8 and code style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
inclement committed Aug 2, 2019
1 parent b000d5b commit ad080c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_androidmodule_ctypes_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
try: # Python 3+
from unittest import mock
from unittest.mock import MagicMock
except: # Python 2
except ImportError: # Python 2
import mock
from mock import MagicMock
import os
Expand Down
3 changes: 1 addition & 2 deletions tests/test_recommendations.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
from os.path import join
from sys import version_info, version as py_version
from sys import version as py_version

from unittest import mock
from pythonforandroid.recommendations import (
Expand Down Expand Up @@ -34,7 +34,6 @@
PY2_ERROR_TEXT,
PY_VERSION_ERROR_TEXT,
)
import pythonforandroid.recommendations # for mocking constants only, other imports explicit

from pythonforandroid.util import BuildInterruptingException

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ commands = flake8 pythonforandroid/ tests/ ci/

[flake8]
ignore =
E123, E124, E126,
E123, E124, E126, E127, E129
E226,
E402, E501,
W503,
Expand Down

0 comments on commit ad080c4

Please sign in to comment.