Skip to content

Commit

Permalink
Merge pull request #150 from akaihola/conda-instructions
Browse files Browse the repository at this point in the history
Conda instructions
  • Loading branch information
akaihola committed Jun 26, 2021
2 parents 4d0b0f5 + b2928e0 commit 6e0f678
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Added
-----
- Upgrade to and satisfy MyPy 0.910 by adding ``types-toml`` as a test dependency, and
``types-dataclasses`` as well if running on Python 3.6.
- Installation instructions in a Conda environment.

Fixed
-----
Expand Down Expand Up @@ -51,6 +52,7 @@ Added
``PRE_COMMIT_TO_REF`` environment variables when using the ``--revision :PRE-COMMIT:``
option
- Configure a pre-commit hook for Darker itself
- Add a Darker package to conda-forge_.

Fixed
-----
Expand Down Expand Up @@ -164,6 +166,7 @@ Added
.. _0.1.1: https://github.com/akaihola/darker/compare/0.1.0...0.1.1
.. _0.1.0: https://github.com/akaihola/darker/releases/tag/0.1.0
.. _pre-commit: https://pre-commit.com/
.. _conda-forge: https://conda-forge.org/
.. _#80: https://github.com/akaihola/darker/issues/80
.. _pytest-darker: https://pypi.org/project/pytest-darker/
.. _Black 19.10: https://github.com/psf/black/blob/master/CHANGES.md#1910b0
Expand Down
9 changes: 9 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ To install, use::

pip install darker

Or, if you're using Conda_ for package management::

conda install -c conda-forge darker isort

The ``darker <myfile.py>`` or ``darker <directory>`` command
reads the original file(s),
formats them using Black_,
Expand All @@ -99,6 +103,11 @@ You can enable additional features with command line options:
- ``-L flake8``: enforce the Python style guide using Flake8_

*New in version 1.1.0:* The ``-L`` / ``--lint`` option.
*New in version 1.2.2:* Package available in conda-forge_.

.. _Conda: https://conda.io/
.. _conda-forge: https://conda-forge.org/


Example
=======
Expand Down

0 comments on commit 6e0f678

Please sign in to comment.