Skip to content
Myr

Various Makefile updates

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

authored by Shivaram Lingamneni · committed by Shivaram Lingamneni · parent 317f64a · Browse files · 3 files+30 added−9 removed
This commit

State

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

Diff stats

3 files+30 added−9 removed

  • other:+30 added−9 removed

3 files+30 added−9 removed

modified:.gitignore+5 added-2 removed
1.coverage2MANIFEST3coverage.xml4nosetests.xml5junit-report.xml6pylint.txt7toy.py6junit-report.xml7requests.egg-info/8violations.pyflakes.txt9cover/10docs/_build11requests.egg-info/12*.pyc13*.swp
modified:.travis.yml+1 added-1 removed
modified:Makefile+24 added-6 removed
1SHELL := /bin/bash23# these files should pass pyflakes4PYFLAKES_WHITELIST=$(shell find . -name "*.py" ! -path "./docs/*" ! -path "./tests/*" ! -path "./requests/packages/*" \5 ! -path "./requests/__init__.py" ! -path "./requests/compat.py")67# test_requests_ext.py depends on external services, and async doesn't work under Python 38# Travis/Jenkins should be ensuring that all other tests pass on all supported versions9CI_TESTS=$(shell find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py")1011init:12 python setup.py develop13 pip install -r requirements.txt14
5 unmodified lines
2021simple:22 nosetests tests/test_requests.py2316ci:17 find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py" | xargs nosetests --with-xunit --xunit-file=junit-report.xml24pyflakes:25 pyflakes ${PYFLAKES_WHITELIST}2627citests:28 nosetests ${CI_TESTS} --with-xunit --xunit-file=junit-report.xml2930ci: citests pyflakes3132travis: citests3334server:35 gunicorn httpbin:app --bind=0.0.0.0:7077 &3622stats:23 pyflakes requests | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' > violations.pyflakes.txt37# compute statistics of various kinds38lemonade:39 -pyflakes requests > violations.pyflakes.txt40 # HTML output will be available in the default location, ./cover/41 nosetests --with-coverage --cover-html --cover-package=requests ${CI_TESTS} ./tests/test_requests_async.py4243site:44 cd docs; make dirhtml4528pyc:29 find . -name "*.pyc" -exec rm '{}' ';'46clean:47 git clean -Xfd4849deps:50 rm -fr requests/packages/urllib351 git clone https://github.com/shazow/urllib3.git
5 unmodified lines