summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/internal/releases.rst4
-rw-r--r--docs/source/plugin-development/registering-plugins.rst1
-rw-r--r--docs/source/requirements.txt1
-rw-r--r--docs/source/user/error-codes.rst5
-rw-r--r--docs/source/user/invocation.rst10
-rw-r--r--docs/source/user/using-plugins.rst4
6 files changed, 7 insertions, 18 deletions
diff --git a/docs/source/internal/releases.rst b/docs/source/internal/releases.rst
index 0ed0ac9..03178a4 100644
--- a/docs/source/internal/releases.rst
+++ b/docs/source/internal/releases.rst
@@ -81,13 +81,11 @@ for users.
Before releasing, the following tox test environments must pass:
-- Python 2.7 (a.k.a., ``tox -e py27``)
-
- Python 3.6 (a.k.a., ``tox -e py36``)
- Python 3.7 (a.k.a., ``tox -e py37``)
-- PyPy (a.k.a., ``tox -e pypy``)
+- PyPy 3 (a.k.a., ``tox -e pypy3``)
- Linters (a.k.a., ``tox -e linters``)
diff --git a/docs/source/plugin-development/registering-plugins.rst b/docs/source/plugin-development/registering-plugins.rst
index 34b368a..d1718bf 100644
--- a/docs/source/plugin-development/registering-plugins.rst
+++ b/docs/source/plugin-development/registering-plugins.rst
@@ -56,7 +56,6 @@ like:
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
- "Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
diff --git a/docs/source/requirements.txt b/docs/source/requirements.txt
index 3a7ffae..984ca54 100644
--- a/docs/source/requirements.txt
+++ b/docs/source/requirements.txt
@@ -1,5 +1,4 @@
sphinx>=1.3.0,!=3.1.0
sphinx_rtd_theme
sphinx-prompt
-configparser
flake8-polyfill
diff --git a/docs/source/user/error-codes.rst b/docs/source/user/error-codes.rst
index e74675f..9eab3f7 100644
--- a/docs/source/user/error-codes.rst
+++ b/docs/source/user/error-codes.rst
@@ -100,8 +100,6 @@ generates its own :term:`error code`\ s for ``pyflakes``:
+------+---------------------------------------------------------------------+
| F811 | redefinition of unused ``name`` from line ``N`` |
+------+---------------------------------------------------------------------+
-| F812 | list comprehension redefines ``name`` from line ``N`` |
-+------+---------------------------------------------------------------------+
| F821 | undefined name ``name`` |
+------+---------------------------------------------------------------------+
| F822 | undefined name ``name`` in ``__all__`` |
@@ -116,9 +114,6 @@ generates its own :term:`error code`\ s for ``pyflakes``:
| F901 | ``raise NotImplemented`` should be ``raise NotImplementedError`` |
+------+---------------------------------------------------------------------+
-Note that some of these entries behave differently on Python 2 and Python 3,
-for example F812 is specific to Python 2 only.
-
We also report one extra error: ``E999``. We report ``E999`` when we fail to
compile a file into an Abstract Syntax Tree for the plugins that require it.
diff --git a/docs/source/user/invocation.rst b/docs/source/user/invocation.rst
index 099b72a..4c141fd 100644
--- a/docs/source/user/invocation.rst
+++ b/docs/source/user/invocation.rst
@@ -14,25 +14,25 @@ like so:
Where you simply allow the shell running in your terminal to locate |Flake8|.
In some cases, though, you may have installed |Flake8| for multiple versions
-of Python (e.g., Python 2.7 and Python 3.5) and you need to call a specific
+of Python (e.g., Python 3.8 and Python 3.9) and you need to call a specific
version. In that case, you will have much better results using:
.. prompt:: bash
- python2.7 -m flake8
+ python3.8 -m flake8
Or
.. prompt:: bash
- python3.5 -m flake8
+ python3.9 -m flake8
Since that will tell the correct version of Python to run |Flake8|.
.. note::
- Installing |Flake8| once will not install it on both Python 2.7 and
- Python 3.5. It will only install it for the version of Python that
+ Installing |Flake8| once will not install it on both Python 3.8 and
+ Python 3.9. It will only install it for the version of Python that
is running pip.
It is also possible to specify command-line options directly to |Flake8|:
diff --git a/docs/source/user/using-plugins.rst b/docs/source/user/using-plugins.rst
index 3971578..eddb258 100644
--- a/docs/source/user/using-plugins.rst
+++ b/docs/source/user/using-plugins.rst
@@ -24,10 +24,8 @@ appropriate of:
pip install <plugin-name>
pip3 install <plugin-name>
python -m pip install <plugin-name>
- python2.7 -m pip install <plugin-name>
python3 -m pip install <plugin-name>
- python3.4 -m pip install <plugin-name>
- python3.5 -m pip install <plugin-name>
+ python3.9 -m pip install <plugin-name>
To install the plugin, where ``<plugin-name>`` is the package name on PyPI_.
To verify installation use: