Skip to content

Commit 8b873b8

Browse files
committed
Cosmetic clean up in setup.py
1 parent f782bf7 commit 8b873b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66

77
import batch_requests
88

9-
from setuptools import setup
109
from setuptools import setup, Command
1110

11+
1212
class PyTest(Command):
1313
'''
1414
A command handler for setup.py test.
1515
'''
1616
user_options = []
17+
1718
def initialize_options(self):
1819
pass
1920

@@ -22,10 +23,10 @@ def finalize_options(self):
2223

2324
def run(self):
2425
import subprocess
25-
import sys
2626
errno = subprocess.call('py.test --cov-report html --cov batch_requests tests/', shell=True)
2727
raise SystemExit(errno)
2828

29+
2930
name = 'django-batch-requests'
3031
version = batch_requests.__version__
3132
package = 'batch_requests'

0 commit comments

Comments
 (0)