mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
py39+
This commit is contained in:
parent
e492aeb385
commit
9d55ccdb72
22 changed files with 64 additions and 78 deletions
|
|
@ -81,9 +81,9 @@ for users.
|
|||
|
||||
Before releasing, the following tox test environments must pass:
|
||||
|
||||
- Python 3.8 (a.k.a., ``tox -e py38``)
|
||||
- Python 3.9 (a.k.a., ``tox -e py39``)
|
||||
|
||||
- Python 3.12 (a.k.a., ``tox -e py312``)
|
||||
- Python 3.13 (a.k.a., ``tox -e py313``)
|
||||
|
||||
- PyPy 3 (a.k.a., ``tox -e pypy3``)
|
||||
|
||||
|
|
|
|||
|
|
@ -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 3.8 and Python 3.9) and you need to call a specific
|
||||
of Python (e.g., Python 3.13 and Python 3.14) and you need to call a specific
|
||||
version. In that case, you will have much better results using:
|
||||
|
||||
.. prompt:: bash
|
||||
|
||||
python3.8 -m flake8
|
||||
python3.13 -m flake8
|
||||
|
||||
Or
|
||||
|
||||
.. prompt:: bash
|
||||
|
||||
python3.9 -m flake8
|
||||
python3.14 -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 3.8 and
|
||||
Python 3.9. It will only install it for the version of Python that
|
||||
Installing |Flake8| once will not install it on both Python 3.13 and
|
||||
Python 3.14. 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|:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue