Skip to content

Commit

Permalink
python3 -m isort .
Browse files Browse the repository at this point in the history
  • Loading branch information
zeehio committed Sep 9, 2023
1 parent 0fb277b commit 576de4f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#
import os
import sys

sys.path.insert(1, os.path.abspath('..'))


Expand Down
2 changes: 1 addition & 1 deletion parmap/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
from .parmap import map, starmap, map_async, starmap_async
from .parmap import map, map_async, starmap, starmap_async

__all__ = ['map', 'starmap', 'map_async', 'starmap_async']

3 changes: 1 addition & 2 deletions parmap/parmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@
# at http://stackoverflow.com/a/5443941/446149

import multiprocessing
import warnings
import typing as T

import warnings
from itertools import repeat
from multiprocessing.pool import AsyncResult

Expand Down
5 changes: 3 additions & 2 deletions test_parmap.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import multiprocessing
import time
import unittest
import warnings

import parmap
import time
import multiprocessing

# The fact that parallelization is happening is controlled via reasonable
# guesses of the parmap overhead and the CPU speeds
Expand Down

0 comments on commit 576de4f

Please sign in to comment.