From 05d57150b5273b817924e4204b415ec457ece55a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Mon, 23 Mar 2020 10:38:37 +0100 Subject: [PATCH 1/2] Update requirements in readme --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 1164156..8c0476a 100644 --- a/README.rst +++ b/README.rst @@ -71,7 +71,7 @@ Install with pip:: Requirements ------------ -- Python 2.7, 3.5, 3.6 +- Python 2.7, 3.6, 3.7, 3.8 - flake8 License From 3bebf86a78900bffaf09e9cb06b6a7bb41481540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Mon, 23 Mar 2020 10:41:54 +0100 Subject: [PATCH 2/2] Add syntax highlighting to python blocks in readme --- README.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 8c0476a..a2f9078 100644 --- a/README.rst +++ b/README.rst @@ -10,7 +10,9 @@ Flake8 Builtins plugin ====================== Check for python builtins being used as variables or parameters. -Imagine some code like this:: +Imagine some code like this: + +.. code:: Python def max_values(list, list2): max = list[0] @@ -47,7 +49,9 @@ the general approach is to **not** do that as code then can suddenly break witho Example ------- -Given the following code:: +Given the following code: + +.. code:: Python def my_method(object, list, dict): max = 5