Skip to content

Commit

Permalink
Add syntax highlighting to python blocks in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k committed Mar 23, 2020
1 parent 05d5715 commit 3bebf86
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.rst
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3bebf86

Please sign in to comment.