Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
erictleung committed Jun 6, 2023
1 parent 11842a2 commit 51205c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
Badge](https://img.shields.io/badge/project%20type-toy-blue)](https://project-types.github.io/#toy)
<!-- badges: end -->

Style Python code blocks with [black](https://github.com/psf/black) in
RStudio.
RStudio addin to style Python code blocks with
[black](https://github.com/psf/black).

![Demo of the pyblack RStudio addin to help format Python code in
RMarkdown](man/figures/pyblack.gif)
Expand Down Expand Up @@ -44,6 +44,9 @@ PYBLACK \> Style selection with black.
your cursor in an open document you want to format. Then navigate in
RStudio to Addins \> PYBLACK \> Style active file with black.

There is a third option available to change indentation from 4 spaces to
2 spaces. This does not require or use black to work.

## Configuration

In your working directory, you can have a `pyproject.toml` file that
Expand Down

0 comments on commit 51205c2

Please sign in to comment.