-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
…ordBot into babel-list � Conflicts: � redbot/core/utils/chat_formatting.py
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Support question | ||
url: https://discord.gg/red | ||
about: For any questions regarding on how to operate and run Red. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
name: Lint Python | ||
on: [push, pull_request] | ||
on: | ||
pull_request: | ||
push: | ||
repository_dispatch: | ||
types: | ||
- dispatched_test | ||
|
||
env: | ||
ref: ${{ github.event.client_payload.ref || '' }} | ||
|
||
jobs: | ||
lint_python: | ||
name: Lint Python | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ env.ref }} | ||
- uses: actions/setup-python@v1 | ||
with: | ||
python_version: "3.8" | ||
- run: "python -m pip install flake8" | ||
- 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://gitlab.com/pycqa/[email protected]#egg=flake8" | ||
name: Install Flake8 | ||
- run: "python -m flake8 . --count --select=E9,F7,F82 --show-source" | ||
name: Flake8 Linting |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
{% extends '!layout.html' %} | ||
{% block document %} | ||
{% if version_slug == 'latest' %} | ||
<div class="admonition warning"> | ||
<p class="first admonition-title">Warning</p> | ||
<p class="last"> | ||
This document is for Red's development version, which can be significantly different from previous releases. | ||
If you're a regular user, you should read the <a href="{{ dict(versions)['stable'] }}">Red documentation for the current stable release</a>. | ||
</p> | ||
</div> | ||
{% endif %} | ||
{{ super() }} | ||
<a href="https://github.com/Cog-Creators/Red-DiscordBot"> | ||
<img style="position: absolute; top: 0; right: 0; border: 0;" | ||
src="https://github.blog/wp-content/uploads/2008/12/forkme_right_darkblue_121621.png?resize=149%2C149" | ||
class="attachment-full size-full" alt="Fork me on GitHub"> | ||
</a> | ||
{% endblock %} | ||
{% endblock %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.. _about-venvs: | ||
|
||
========================== | ||
About Virtual Environments | ||
========================== | ||
Creating a virtual environment is really easy and usually prevents many common installation | ||
problems. | ||
|
||
**What Are Virtual Environments For?** | ||
|
||
Virtual environments allow you to isolate Red's library dependencies, cog dependencies and python | ||
binaries from the rest of your system. There is no performance overhead to using virtual environment | ||
and it saves you from a lot of troubles during setup. It also makes sure Red and its dependencies | ||
are installed to a predictable location which makes uninstalling Red as simple as removing a single folder, | ||
without worrying about losing your data or other things on your system becoming broken. | ||
|
||
|
||
-------------------------------------------- | ||
Virtual Environments with Multiple Instances | ||
-------------------------------------------- | ||
If you are running multiple instances of Red on the same machine, you have the option of either | ||
using the same virtual environment for all of them, or creating separate ones. | ||
|
||
.. note:: | ||
|
||
This only applies for multiple instances of V3. If you are running a V2 instance as well, | ||
you **must** use separate virtual environments. | ||
|
||
The advantages of using a *single* virtual environment for all of your V3 instances are: | ||
|
||
- When updating Red, you will only need to update it once for all instances (however you will still need to restart all instances for the changes to take effect) | ||
- It will save space on your hard drive | ||
|
||
On the other hand, you may wish to update each of your instances individually. | ||
|
||
.. important:: | ||
|
||
Windows users with multiple instances should create *separate* virtual environments, as | ||
updating multiple running instances at once is likely to cause errors. |