Skip to content
Myr

Makefile

This file

Path

Makefile

30 lines · 921 bytes

Last changed by

Add Trusted Publishing Release WorkflowIan Stapleton Cordascobefore adoptione57b5bf

History of this file

Take it

The walk stopped after 200 commits: lines older than a3d54b8 point at it.

Update advanced.rst (#5821)Egorbefore adoptiona3d54b8

lines 1–2why, one step back
1.PHONY: docs
2init:

Move to src directory (#6506)Nate Prewittbefore adoptiond63e94f

line 3why, one step back
3 python -m pip install -r requirements-dev.txt

Update advanced.rst (#5821)Egorbefore adoptiona3d54b8

line 4why, one step back
4test:

Remove Python 2 mention from tox (#6200)Miloslav Pojmanbefore adoption7862556

line 5why, one step back
5 # This runs all of the tests on all supported Python versions.

Merge pull request #5993 from davisagli/tox-parallelIan Stapleton Cordascobefore adoptionc193d97

line 6why, one step back
6 tox -p

Update advanced.rst (#5821)Egorbefore adoptiona3d54b8

line 7why, one step back
7ci:

Move to src directory (#6506)Nate Prewittbefore adoptiond63e94f

line 8why, one step back
8 python -m pytest tests --junitxml=report.xml

Update advanced.rst (#5821)Egorbefore adoptiona3d54b8

lines 9–13why, one step back
9
10test-readme:11 python setup.py check --restructuredtext --strict && ([ $$? -eq 0 ] && echo "README.rst and HISTORY.rst ok") || echo "Invalid markup in README.rst or HISTORY.rst!"1213flake8:

Move to src directory (#6506)Nate Prewittbefore adoptiond63e94f

line 14why, one step back
14 python -m flake8 src/requests

Update advanced.rst (#5821)Egorbefore adoptiona3d54b8

lines 15–16why, one step back
15
16coverage:

Move to src directory (#6506)Nate Prewittbefore adoptiond63e94f

line 17why, one step back
17 python -m pytest --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=src/requests tests

Update advanced.rst (#5821)Egorbefore adoptiona3d54b8

line 18why, one step back
18

Polish up release tooling for last manual releaseIan Stapleton Cordascobefore adoption021dc72

lines 19–24why, one step back
19.publishenv:
20 python -m venv .publishenv21 .publishenv/bin/pip install 'twine>=1.5.0' build2223publish: .publishenv24 .publishenv/bin/python -m build

Add Trusted Publishing Release WorkflowIan Stapleton Cordascobefore adoptione57b5bf

line 25why, one step back
25 .publishenv/bin/python -m twine upload --skip-existing dist/*

Update advanced.rst (#5821)Egorbefore adoptiona3d54b8

lines 26–30why, one step back
26 rm -fr build dist .egg requests.egg-info
2728docs:29 cd docs && make html30 @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"