Skip to content

Commit

Permalink
Clarify that black runs with --safe by default
Browse files Browse the repository at this point in the history
fixes psf#3375
  • Loading branch information
mcsitter committed Nov 9, 2022
1 parent 27d2014 commit 40bcab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/the_black_code_style/current_style.md
Expand Up @@ -457,7 +457,7 @@ the latter are treated as true raw strings with no special semantics.

### AST before and after formatting

When run with `--safe`, _Black_ checks that the code before and after is semantically
When run with `--safe` (the default), _Black_ checks that the code before and after is semantically
equivalent. This check is done by comparing the AST of the source with the AST of the
target. There are three limited cases in which the AST does differ:

Expand Down

0 comments on commit 40bcab2

Please sign in to comment.