Skip to content

Commit d21cd6e

Browse files
black
1 parent af71154 commit d21cd6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

betterproto/casing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ def substitute_word(symbols, word, is_start):
6868
elif is_start:
6969
delimiter_count = len(symbols)
7070
elif word.isupper() or word.islower():
71-
delimiter_count = max(1, len(symbols)) # Preserve all delimiters if not strict.
71+
delimiter_count = max(
72+
1, len(symbols)
73+
) # Preserve all delimiters if not strict.
7274
else:
7375
delimiter_count = len(symbols) + 1 # Extra underscore for leading capital.
7476

0 commit comments

Comments
 (0)