All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
3 New to _Black_? Don't worry, you've found the perfect place to get started!
5 ## Do you like the _Black_ code style?
7 Before using _Black_ on some of your code, it might be a good idea to first understand
8 how _Black_ will format your code. _Black_ isn't for everyone and you may find something
9 that is a dealbreaker for you personally, which is okay! The current _Black_ code style
10 [is described here](./the_black_code_style/current_style.md).
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.
19 _Black_ can be installed by running `pip install black`. It requires Python 3.6.2+ to
20 run, but can format Python 2 code too. Python 2 support needs the `typed_ast`
21 dependency, which be installed with `pip install black[python2]`.
23 If you can't wait for the latest _hotness_ and want to install from GitHub, use:
25 `pip install git+git://github.com/psf/black`
29 To get started right away with sensible defaults:
32 black {source_file_or_directory}...
35 You can run _Black_ as a package if running it as a script doesn't work:
38 python -m black {source_file_or_directory}...
43 Took a look at [the _Black_ code style](./the_black_code_style/current_style.md) and
44 tried out _Black_? Fantastic, you're ready for more. Why not explore some more on using
46 [Usage and Configuration: The basics](./usage_and_configuration/the_basics.md).
47 Alternatively, you can check out the
48 [Introducing _Black_ to your project](./guides/introducing_black_to_your_project.md)