Skip to content

Commit

Permalink
Add a description of related tools
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJCLaw committed May 5, 2024
1 parent a1c0265 commit 9327b11
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ Examples
"key": "value",
}), # <-- incorrect trailing comma. json_data is now a tuple. Likely by accident.
Related tools
-------------

You may wish to consider one of the following tools alongside or instead of ``flake8-commas``.

For automatic insertion of commas, though noting that these tools may implement
different rules around where commas should be placed:

* `black <https://pypi.org/project/black/>`_, the uncompromising Python code formatter
* `add-trailing-comma <https://github.com/asottile/add-trailing-comma>`_, which can do comma insertion automatically


.. |Build Status| image:: https://github.com/PyCQA/flake8-commas/actions/workflows/.github/workflows/tests.yml/badge.svg?branch=main
:target: https://github.com/PyCQA/flake8-commas/actions?query=branch%3Amain
Expand Down

0 comments on commit 9327b11

Please sign in to comment.