Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e641d1

Browse files
authored
docs: remove outdated Black Playground references (psf#5044)
1 parent c014b22 commit 2e641d1

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Please make sure that the bug is not already fixed either in newer versions or t
1111
current development version. To confirm this, you have three options:
1212
1313
1. Update Black's version if a newer release exists: `pip install -U black`
14-
2. Use the online formatter at <https://black.vercel.app/?version=main>, which will use
15-
the latest main branch.
16-
3. Or run _Black_ on your machine:
14+
2. Install the latest `main` branch directly:
15+
`pip install "black @ git+https://github.com/psf/black.git"`
16+
3. Or run _Black_ from source on your machine:
1717
- create a new virtualenv (make sure it's the same Python version);
1818
- clone this repository;
1919
- run `pip install -e .[d]`;

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ becomes transparent after a while and you can focus on the content instead.
2626

2727
_Black_ makes code review faster by producing the smallest diffs possible.
2828

29-
Try it out now using the [Black Playground](https://black.vercel.app). Watch the
30-
[PyCon 2019 talk](https://youtu.be/esZLCuWs_2Y) to learn more.
29+
Watch the [PyCon 2019 talk](https://youtu.be/esZLCuWs_2Y) to learn more.
3130

3231
---
3332

docs/getting_started.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ how _Black_ will format your code. _Black_ isn't for everyone and you may find s
99
that is a dealbreaker for you personally, which is okay! The current _Black_ code style
1010
[is described here](./the_black_code_style/current_style.md).
1111

12-
## Try it out online
12+
## Try it out quickly
1313

14-
Also, you can try out _Black_ online for minimal fuss on the
15-
[Black Playground](https://black.vercel.app) generously created by José Padilla.
14+
If you want a quick taste of _Black_ without creating a file first, format a snippet
15+
from the command line:
16+
17+
```sh
18+
black --code "x = { 'a':1,'b':2 }"
19+
```
1620

1721
## Installation
1822

docs/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ _Black_ makes code review faster by producing the smallest diffs possible. Black
1515
code looks the same regardless of the project you're reading. Formatting becomes
1616
transparent after a while and you can focus on the content instead.
1717

18-
Try it out now using the [Black Playground](https://black.vercel.app).
19-
2018
```{admonition} Note - Black is now stable!
2119
_Black_ is [successfully used](https://github.com/psf/black#used-by) by many projects,
2220
small and big. _Black_ has a comprehensive test suite, with efficient parallel tests,

0 commit comments

Comments
 (0)