Skip to content
Myr

cleanup makefile

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 342facb · Browse files · 1 file+0 added−31 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−31 removed

  • other:+0 added−31 removed

1 file+0 added−31 removed

modified:Makefile-31 removed
1SHELL := /bin/bash23# these files should pass pyflakes4# exclude ./env/, which may contain virtualenv packages5PYFLAKES_WHITELIST=$(shell find . -name "*.py" ! -path "./docs/*" ! -path "./tests/*" \6 ! -path "./requests/packages/*" ! -path "./env/*" \7 ! -path "./requests/__init__.py" ! -path "./requests/compat.py")89# hack: if pyflakes is available, set this to the location of pyflakes10# if it's not, e.g., in the Python 3 or PyPy Jenkins environments, set it to11# the location of the no-op `true` command.12PYFLAKES_IF_AVAILABLE=$(shell if which pyflakes > /dev/null ; \13 then which pyflakes; \14 else which true; fi )153# test_requests_ext.py depends on external services, and async doesn't work under Python 34# Travis/Jenkins should be ensuring that all other tests pass on all supported versions5CI_TESTS=$(shell find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py")6
9 unmodified lines
1617simple:18 nosetests tests/test_requests.py1933pyflakes:34 pyflakes ${PYFLAKES_WHITELIST}3536cipyflakes:37 ${PYFLAKES_IF_AVAILABLE} ${PYFLAKES_WHITELIST}3820citests:21 nosetests ${CI_TESTS} --with-xunit --xunit-file=junit-report.xml2223ci: citests cipyflakes
2 unmodified lines
2627server:28 gunicorn httpbin:app --bind=0.0.0.0:7077 &2949# compute statistics of various kinds50lemonade:51 -pyflakes requests > violations.pyflakes.txt52 # 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.py5455site:56 cd docs; make dirhtml5758clean:59 git clean -Xfd6030deps: urllib3 certs charade3132urllib3:33 rm -fr requests/packages/urllib3
16 unmodified lines