Skip to content

Commit

Permalink
Sort imports. And punctuation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Jun 15, 2019
1 parent fb0efda commit 9f2a513
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ default_section = THIRDPARTY
forced_separate = test_hunter
not_skip = __init__.py
skip = migrations
known_standard_library = opcode
6 changes: 3 additions & 3 deletions src/hunter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
import os
import weakref

from .config import THREADING_SUPPORT_ALIASES
from .config import load_config
from .actions import Action
from .actions import CallPrinter
from .actions import CodePrinter
from .actions import Debugger
from .actions import Manhole
from .actions import VarsPrinter
from .actions import VarsSnooper
from .config import THREADING_SUPPORT_ALIASES
from .config import load_config

try:
if os.environ.get("PUREPYTHONHUNTER"):
raise ImportError("Cython speedups are disabled")
raise ImportError("Cython speedups are disabled.")

from ._event import Event
from ._predicates import And as _And
Expand Down
1 change: 0 additions & 1 deletion src/hunter/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from .util import iter_symbols
from .util import safe_repr


try:
from threading import get_ident
except ImportError:
Expand Down
1 change: 1 addition & 0 deletions tests/test_cookbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

logger = getLogger(__name__)


def nothin(x):
return x

Expand Down

0 comments on commit 9f2a513

Please sign in to comment.