Skip to content

Commit

Permalink
Do not use pyproject.toml for configuring black (#296)
Browse files Browse the repository at this point in the history
* Do not use pyproject.toml for configuring black

The presence of the pyproject.toml may cause some problems on some
builds. Therefore, we now use a different file to configure black.

* update documentation with the new configuration file name
  • Loading branch information
mdumandag committed Jan 11, 2021
1 parent 349031c commit ede5764
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ If you are planning to contribute:
1. Run ``pip install -r requirements-dev.txt`` to install development
dependencies.
2. Use `black <https://pypi.org/project/black/>`__ to reformat the code
by running the ``black .`` command.
by running the ``black --config black.toml .`` command.
3. Make sure that tests are passing by following the steps described
in the next section.

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/development_and_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are planning to contribute:
1. Run ``pip install -r requirements-dev.txt`` to install development
dependencies.
2. Use `black <https://pypi.org/project/black/>`__ to reformat the code
by running the ``black .`` command.
by running the ``black --config black.toml .`` command.
3. Make sure that tests are passing by following the steps described
in the :ref:`development_and_testing:testing` section.

Expand Down

0 comments on commit ede5764

Please sign in to comment.