From fa838c7a852c6ec2c737eb530e6005974df7ffbb Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 14 Dec 2012 23:11:49 -0500 Subject: [PATCH] cleanup makefile --- Makefile | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/Makefile b/Makefile index 5d403bd..c7c2e95 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,5 @@ SHELL := /bin/bash -# these files should pass pyflakes -# exclude ./env/, which may contain virtualenv packages -PYFLAKES_WHITELIST=$(shell find . -name "*.py" ! -path "./docs/*" ! -path "./tests/*" \ - ! -path "./requests/packages/*" ! -path "./env/*" \ - ! -path "./requests/__init__.py" ! -path "./requests/compat.py") - -# hack: if pyflakes is available, set this to the location of pyflakes -# if it's not, e.g., in the Python 3 or PyPy Jenkins environments, set it to -# the location of the no-op `true` command. -PYFLAKES_IF_AVAILABLE=$(shell if which pyflakes > /dev/null ; \ - then which pyflakes; \ - else which true; fi ) - # test_requests_ext.py depends on external services, and async doesn't work under Python 3 # Travis/Jenkins should be ensuring that all other tests pass on all supported versions CI_TESTS=$(shell find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py") @@ -30,12 +17,6 @@ lazy: simple: nosetests tests/test_requests.py -pyflakes: - pyflakes ${PYFLAKES_WHITELIST} - -cipyflakes: - ${PYFLAKES_IF_AVAILABLE} ${PYFLAKES_WHITELIST} - citests: nosetests ${CI_TESTS} --with-xunit --xunit-file=junit-report.xml @@ -46,18 +27,6 @@ travis: citests server: gunicorn httpbin:app --bind=0.0.0.0:7077 & -# compute statistics of various kinds -lemonade: - -pyflakes requests > violations.pyflakes.txt - # HTML output will be available in the default location, ./cover/ - nosetests --with-coverage --cover-html --cover-package=requests ${CI_TESTS} ./tests/test_requests_async.py - -site: - cd docs; make dirhtml - -clean: - git clean -Xfd - deps: urllib3 certs charade urllib3: -- 2.7.4