Skip to content

Commit fa838c7

Browse files
author
Kenneth Reitz
committed
cleanup makefile
1 parent 342facb commit fa838c7

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

Makefile

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
SHELL := /bin/bash
22

3-
# these files should pass pyflakes
4-
# exclude ./env/, which may contain virtualenv packages
5-
PYFLAKES_WHITELIST=$(shell find . -name "*.py" ! -path "./docs/*" ! -path "./tests/*" \
6-
! -path "./requests/packages/*" ! -path "./env/*" \
7-
! -path "./requests/__init__.py" ! -path "./requests/compat.py")
8-
9-
# hack: if pyflakes is available, set this to the location of pyflakes
10-
# if it's not, e.g., in the Python 3 or PyPy Jenkins environments, set it to
11-
# the location of the no-op `true` command.
12-
PYFLAKES_IF_AVAILABLE=$(shell if which pyflakes > /dev/null ; \
13-
then which pyflakes; \
14-
else which true; fi )
15-
163
# test_requests_ext.py depends on external services, and async doesn't work under Python 3
174
# Travis/Jenkins should be ensuring that all other tests pass on all supported versions
185
CI_TESTS=$(shell find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py")
@@ -30,12 +17,6 @@ lazy:
3017
simple:
3118
nosetests tests/test_requests.py
3219

33-
pyflakes:
34-
pyflakes ${PYFLAKES_WHITELIST}
35-
36-
cipyflakes:
37-
${PYFLAKES_IF_AVAILABLE} ${PYFLAKES_WHITELIST}
38-
3920
citests:
4021
nosetests ${CI_TESTS} --with-xunit --xunit-file=junit-report.xml
4122

@@ -46,18 +27,6 @@ travis: citests
4627
server:
4728
gunicorn httpbin:app --bind=0.0.0.0:7077 &
4829

49-
# compute statistics of various kinds
50-
lemonade:
51-
-pyflakes requests > violations.pyflakes.txt
52-
# HTML output will be available in the default location, ./cover/
53-
nosetests --with-coverage --cover-html --cover-package=requests ${CI_TESTS} ./tests/test_requests_async.py
54-
55-
site:
56-
cd docs; make dirhtml
57-
58-
clean:
59-
git clean -Xfd
60-
6130
deps: urllib3 certs charade
6231

6332
urllib3:

0 commit comments

Comments
 (0)