From b83cab551c9777a76022675b603e08b1e4e14a6c Mon Sep 17 00:00:00 2001 From: Danny Sepler Date: Fri, 16 Sep 2022 00:30:13 -0400 Subject: [PATCH 1/2] Remove reference of py2 from the README --- README.rst | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 1e3625c1..c54aa75a 100644 --- a/README.rst +++ b/README.rst @@ -23,12 +23,7 @@ It can be installed with:: Useful tips: -* Be sure to install it for a version of Python which is compatible - with your codebase: for Python 2, ``pip2 install pyflakes`` and for - Python3, ``pip3 install pyflakes``. - -* You can also invoke Pyflakes with ``python3 -m pyflakes .`` or - ``python2 -m pyflakes .`` if you have it installed for both versions. +* You can also invoke Pyflakes with ``python3.# -m pyflakes .`` (for example, ``python3.10 -m pyflakes .``) if you want to run it for a specific python version. * If you require more options and more flexibility, you could give a look to Flake8_ too. From f27ed826e27edf5a920334798d2fe75b2195405c Mon Sep 17 00:00:00 2001 From: Danny Sepler Date: Sun, 2 Oct 2022 12:57:53 -0400 Subject: [PATCH 2/2] keep the first bullet --- README.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index c54aa75a..f4df853a 100644 --- a/README.rst +++ b/README.rst @@ -23,7 +23,12 @@ It can be installed with:: Useful tips: -* You can also invoke Pyflakes with ``python3.# -m pyflakes .`` (for example, ``python3.10 -m pyflakes .``) if you want to run it for a specific python version. +* Be sure to install it for a version of Python which is compatible + with your codebase: ``python#.# -m pip install pyflakes`` (for example, + ``python3.10 -m pip install pyflakes``) + +* You can also invoke Pyflakes with ``python#.# -m pyflakes .`` if you want + to run it for a specific python version. * If you require more options and more flexibility, you could give a look to Flake8_ too.