mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 09:56:05 -05:00
Bump dependencies (no more SSL errors) (#2939)
Also made the Makefile work slightly nicer with other tools, e.g. IDE run configurations, by allowing the python executable to be set as an env var. Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,12 +1,14 @@
|
||||
PYTHON ?= python3.7
|
||||
|
||||
# Python Code Style
|
||||
reformat:
|
||||
black -l 99 --target-version py37 `git ls-files "*.py"`
|
||||
$(PYTHON) -m black -l 99 --target-version py37 `git ls-files "*.py"`
|
||||
stylecheck:
|
||||
black --check -l 99 --target-version py37 `git ls-files "*.py"`
|
||||
$(PYTHON) -m black --check -l 99 --target-version py37 `git ls-files "*.py"`
|
||||
|
||||
# Translations
|
||||
gettext:
|
||||
redgettext --command-docstrings --verbose --recursive redbot --exclude-files "redbot/pytest/**/*"
|
||||
$(PYTHON) -m redgettext --command-docstrings --verbose --recursive redbot --exclude-files "redbot/pytest/**/*"
|
||||
upload_translations:
|
||||
$(MAKE) gettext
|
||||
crowdin upload sources
|
||||
@@ -15,11 +17,11 @@ download_translations:
|
||||
|
||||
# Dependencies
|
||||
bumpdeps:
|
||||
python tools/bumpdeps.py
|
||||
$(PYTHON) tools/bumpdeps.py
|
||||
|
||||
# Development environment
|
||||
newenv:
|
||||
python3.7 -m venv --clear .venv
|
||||
$(PYTHON) -m venv --clear .venv
|
||||
.venv/bin/pip install -U pip setuptools
|
||||
$(MAKE) syncenv
|
||||
syncenv:
|
||||
@@ -28,4 +30,4 @@ syncenv:
|
||||
# Changelog check
|
||||
checkchangelog:
|
||||
bash tools/check_changelog_entries.sh
|
||||
python -m towncrier --draft
|
||||
$(PYTHON) -m towncrier --draft
|
||||
|
||||
Reference in New Issue
Block a user