Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/the_black_code_style/current_style.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ end of the docstring are removed. All leading tabs are converted to spaces, but
inside text are preserved. Whitespace leading and trailing one-line docstrings is
removed.

### Doctest formatting

_Black_ does not format code within doctests. If you want to format doctest code
snippets, you can use one of the following tools:

- [blacken-docs](https://github.com/adamchainz/blacken-docs): reformats code blocks in
documentation files and docstrings.

### Numeric literals

_Black_ standardizes most numeric literals to use lowercase letters for the syntactic
Expand Down