Discord.py dep update 3.1 (#2587)

* Dependency update

discord.py==1.0.1
websockets<7

[style]
black==19.3b0

[Docs]
jinja==2.10.1
urllib3==1.24.2

Changes related to breaking changes from discord.py have also been made
to match

As of this commit, help formatter is back to discord.py's default
This commit is contained in:
Michael H
2019-04-23 21:40:38 -04:00
committed by GitHub
parent 0ff7259bc3
commit ad114295e7
83 changed files with 231 additions and 22307 deletions

View File

@@ -14,24 +14,13 @@ for /F "tokens=* USEBACKQ" %%A in (`git ls-files "*.py"`) do (
goto %1
:reformat
black -l 99 -N !PYFILES!
black -l 99 !PYFILES!
exit /B %ERRORLEVEL%
:stylecheck
black -l 99 -N --check !PYFILES!
black -l 99 --check !PYFILES!
exit /B %ERRORLEVEL%
:update_vendor
if [%REF%] == [] (
set REF2="rewrite"
) else (
set REF2=%REF%
)
pip install --upgrade --no-deps -t . https://github.com/Rapptz/discord.py/archive/!REF2!.tar.gz#egg=discord.py
del /S /Q "discord.py*-info"
for /F %%i in ('dir /S /B discord.py*.egg-info') do rmdir /S /Q %%i
goto reformat
:help
echo Usage:
echo make ^<command^>
@@ -39,5 +28,3 @@ echo.
echo Commands:
echo reformat Reformat all .py files being tracked by git.
echo stylecheck Check which tracked .py files need reformatting.
echo update_vendor Update vendored discord.py library to %%REF%%, which defaults to
echo "rewrite"