Skip to content

Commit 21bd738

Browse files
black and isort with black profile
1 parent be09862 commit 21bd738

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

lfric_macros/release_lfric.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,15 @@
2323
import socket
2424
import subprocess
2525

26-
from apply_macros import (ApplyMacros, apply_macros_main, apply_styling,
27-
get_root_path, read_versions_file, split_macros,
28-
version_number)
26+
from apply_macros import (
27+
ApplyMacros,
28+
apply_macros_main,
29+
apply_styling,
30+
get_root_path,
31+
read_versions_file,
32+
split_macros,
33+
version_number,
34+
)
2935

3036
MACRO_TEMPLATE = """
3137
class CLASS_NAME(MacroUpgrade):

script_copyright_checker/bin/copyright_checker.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@
1313
import re
1414
from textwrap import wrap
1515

16-
from fcm_bdiff import (get_branch_diff_filenames, get_branch_info, get_url,
17-
is_trunk, use_mirror)
16+
from fcm_bdiff import (
17+
get_branch_diff_filenames,
18+
get_branch_info,
19+
get_url,
20+
is_trunk,
21+
use_mirror,
22+
)
1823

1924
# Desired maximum column width for output - we make an exception
2025
# for filenames, which are always printed on a single line to aid

styling.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@
2121

2222
from fstring_parse import *
2323

24-
from styling_keywords import (CODE_REPLACEMENTS, COMMENT_REPLACEMENTS,
25-
FORTRAN_TYPES, KEYWORDS)
24+
from styling_keywords import (
25+
CODE_REPLACEMENTS,
26+
COMMENT_REPLACEMENTS,
27+
FORTRAN_TYPES,
28+
KEYWORDS,
29+
)
2630

2731

2832
def replace_patterns(line, str_continuation):

0 commit comments

Comments
 (0)