Skip to content

Commit

Permalink
Merge pull request #59 from michael-k/readme
Browse files Browse the repository at this point in the history
Update requirements in readme and add syntax highlighting
  • Loading branch information
gforcada committed Mar 23, 2020
2 parents c010c3c + 3bebf86 commit ddefbb1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 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 All @@ -71,7 +75,7 @@ Install with pip::

Requirements
------------
- Python 2.7, 3.5, 3.6
- Python 2.7, 3.6, 3.7, 3.8
- flake8

License
Expand Down

0 comments on commit ddefbb1

Please sign in to comment.