Skip to content

Commit a67ff67

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6461d20 commit a67ff67

2 files changed

Lines changed: 265 additions & 229 deletions

File tree

codespell_lib/_text_util.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818

1919

2020
def is_camel_case_word(input_word: str) -> bool:
21-
return (input_word != input_word.lower()) and \
22-
(input_word != input_word.upper()) and \
23-
("_" not in input_word) and \
24-
("-" not in input_word) and \
25-
(" " not in input_word)
21+
return (
22+
(input_word != input_word.lower())
23+
and (input_word != input_word.upper())
24+
and ("_" not in input_word)
25+
and ("-" not in input_word)
26+
and (" " not in input_word)
27+
)
2628

2729

2830
def is_camel_case_string(input_string: str) -> bool:

0 commit comments

Comments
 (0)