Skip to content

Commit 9327b11

Browse files
committed
Add a description of related tools
1 parent a1c0265 commit 9327b11

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.rst

+11
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ Examples
5252
"key": "value",
5353
}), # <-- incorrect trailing comma. json_data is now a tuple. Likely by accident.
5454
55+
Related tools
56+
-------------
57+
58+
You may wish to consider one of the following tools alongside or instead of ``flake8-commas``.
59+
60+
For automatic insertion of commas, though noting that these tools may implement
61+
different rules around where commas should be placed:
62+
63+
* `black <https://pypi.org/project/black/>`_, the uncompromising Python code formatter
64+
* `add-trailing-comma <https://github.com/asottile/add-trailing-comma>`_, which can do comma insertion automatically
65+
5566

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

0 commit comments

Comments
 (0)