File tree Expand file tree Collapse file tree
docs/the_black_code_style Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,27 +26,27 @@ Currently, the following features are included in the preview style:
2626 statements, except when the line after the import is a comment or an import statement
2727### Example:
2828
29- #### Before: ` always_one_newline_after_import ` is disabled:
29+ ###Before: ` always_one_newline_after_import ` is disabled:
3030
3131import pandas as pd
3232import numpy as np
3333def calculate_statistics(data): # No newline after imports
34- mean = np.mean(data)
3534 median = np.median(data)
36- return mean, median
35+ mean = np.mean(data)
36+ return median, mean
3737
38- #### After:` always_one_newline_after_import ` is enabled:
38+ ###After:` always_one_newline_after_import ` is enabled:
3939
4040import pandas as pd
4141import numpy as np
4242
4343def calculate_statistics(data): # Newline after imports
44- mean = np.mean(data)
4544 median = np.median(data)
46- return mean, median
45+ mean = np.mean(data)
46+ return median, mean
4747
4848
49-
49+ ************************************************************************************ 8
5050- ` wrap_long_dict_values_in_parens ` : Add parentheses around long values in dictionaries
5151 ([ see below] ( labels/wrap-long-dict-values ) )
5252
You can’t perform that action at this time.
0 commit comments