Skip to content

Commit

Permalink
Move away from deprecated egg fragments to PEP 508's req @ url syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen committed Jul 12, 2024
1 parent 9b9fdf5 commit 1764b9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/lint_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]#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
4 changes: 2 additions & 2 deletions docs/guide_cog_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`)
Expand Down

0 comments on commit 1764b9b

Please sign in to comment.