forked from Harkame/YggTorrentScraper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp.txt
33 lines (24 loc) · 943 Bytes
/
help.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
git update-index --assume-unchanged config.yml
git update-index --no-assume-unchanged config.yml
https://packaging.python.org/tutorials/packaging-projects/
pip install setuptools wheel twine
python setup.py sdist bdist_wheel
twine upload dist/*.tar.gz
codecov --token=$CODECOV_TOKEN -f=./coverage.xml
https://coverage.readthedocs.io/en/coverage-4.2/excluding.html
def pretty_print_POST(request):
"""
At this point it is completely built and ready
to be fired; it is "prepared".
However pay attention at the formatting used in
this function because it is programmed to be pretty
printed and may differ from the actual request.
"""
print(
"{}\n{}\r\n{}\r\n\r\nBody : {}".format(
"-----------START-----------",
request.method + " " + request.url,
"\r\n".join("{}: {}".format(k, v) for k, v in request.headers.items()),
request.body,
)
)