From 2e40ec4a1a66c966c58b3a1134322d86a3c70ebe Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Fri, 12 Jul 2024 18:08:43 +0200 Subject: [PATCH] Use PEP 508's req @ url syntax instead of deprecated egg fragments (#6408) --- .github/workflows/lint_python.yaml | 6 +++++- docs/guide_cog_creation.rst | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint_python.yaml b/.github/workflows/lint_python.yaml index 1cfa71aa8..55dcaacfc 100644 --- a/.github/workflows/lint_python.yaml +++ b/.github/workflows/lint_python.yaml @@ -20,7 +20,11 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.8" - - run: "python -m pip install git+https://github.com/pycqa/pyflakes@1911c20#egg=pyflakes git+https://github.com/pycqa/pycodestyle@d219c68#egg=pycodestyle git+https://github.com/pycqa/flake8@3.7.9#egg=flake8" + - run: > + python -m pip install + 'pyflakes @ https://github.com/pycqa/pyflakes/tarball/1911c20' + 'pycodestyle @ https://github.com/pycqa/pycodestyle/tarball/d219c68' + 'flake8 @ https://github.com/pycqa/flake8/tarball/3.7.9' name: Install Flake8 - run: "python -m flake8 . --count --select=E9,F7,F82 --show-source" name: Flake8 Linting diff --git a/docs/guide_cog_creation.rst b/docs/guide_cog_creation.rst index 1e37cb3ee..2f125c17b 100644 --- a/docs/guide_cog_creation.rst +++ b/docs/guide_cog_creation.rst @@ -31,7 +31,7 @@ Open a terminal or command prompt and type one of the following .. note:: To install the development version, replace ``Red-DiscordBot`` in the above commands with the - link below. **The development version of the bot contains experimental changes. It is not + value below. **The development version of the bot contains experimental changes. It is not intended for normal users.** We will not support anyone using the development version in any support channels. Using the development version may break third party cogs and not all core commands may work. Downgrading to stable after installing the development version may cause @@ -40,7 +40,7 @@ Open a terminal or command prompt and type one of the following .. code-block:: none - git+https://github.com/Cog-Creators/Red-DiscordBot@V3/develop#egg=Red-DiscordBot + Red-DiscordBot @ https://github.com/Cog-Creators/Red-DiscordBot/tarball/V3/develop (Windows users may need to use :code:`py -3.8` or :code:`python` instead of :code:`python3.8`)