Skip to content

Commit 039e3dd

Browse files
committed
Update CONTRIBUTING.rst as per code style change
1 parent 7739025 commit 039e3dd

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/CONTRIBUTING.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,9 @@ data to the new models.
4545
Code Convention
4646
---------------
4747

48-
We follow the `Django Coding Style`_ and enforce it using `flake8`_.
49-
50-
In general, if flake8 is happy with your code, you should be fine. To use
51-
``flake8`` to check your code, you can use the following command::
52-
53-
$ flake8 --max-complexity=24 --statistics --benchmark --ignore=E5,F4 <project_dir>/
48+
We follow the `Black Coding Style`_, and sort our imports with `isort`_. This
49+
code style is enforced with automation.
5450

5551
.. _`issue tracker`: https://github.com/pythonindia/junction/issues
56-
.. _`flake8`: https://flake8.readthedocs.org/en/latest/
57-
.. _`Django Coding Style`: https://docs.djangoproject.com/en/2.2/internals/contributing/writing-code/coding-style/
52+
.. _`isort`: https://isort.readthedocs.org/en/latest/
53+
.. _`Black Coding Style`: https://black.readthedocs.io/en/latest/the_black_code_style.html

0 commit comments

Comments
 (0)