File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/the_black_code_style Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -457,9 +457,9 @@ the latter are treated as true raw strings with no special semantics.
457
457
458
458
### AST before and after formatting
459
459
460
- When run with ` --safe ` , _ Black_ checks that the code before and after is semantically
461
- equivalent. This check is done by comparing the AST of the source with the AST of the
462
- target. There are three limited cases in which the AST does differ:
460
+ When run with ` --safe ` (the default) , _ Black_ checks that the code before and after is
461
+ semantically equivalent. This check is done by comparing the AST of the source with the
462
+ AST of the target. There are three limited cases in which the AST does differ:
463
463
464
464
1 . _ Black_ cleans up leading and trailing whitespace of docstrings, re-indenting them if
465
465
needed. It's been one of the most popular user-reported features for the formatter to
You can’t perform that action at this time.
0 commit comments