Skip to content

Commit c5a1665

Browse files
committed
recommend pyupgrade
1 parent bc92f3b commit c5a1665

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ dependency on `six <https://pypi.python.org/pypi/six>`_, unless the
4242
recommended. Some of the fixers output code that is not compatible with
4343
Python 2.5 or lower.
4444

45+
Once your project is ready to run in production on Python 3 it's
46+
recommended to drop Python 2.7 support using
47+
`pyupgrade <https://pypi.org/project/pyupgrade/>`_
48+
4549
**Documentation:** `modernize.readthedocs.io
4650
<https://modernize.readthedocs.io/>`_.
4751

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ dependency on `six <https://pypi.python.org/pypi/six>`_, unless the
3535
recommended. Some of the fixers output code that is not compatible with
3636
Python 2.5 or lower.
3737

38+
Once your project is ready to run in production on Python 3 it's
39+
recommended to drop Python 2.7 support using
40+
`pyupgrade <https://pypi.org/project/pyupgrade/>`_
41+
3842
See the ``LICENSE`` file for the license of ``modernize``.
3943
Using this tool does not affect licensing of the modernized code.
4044

0 commit comments

Comments
 (0)