Skip to content

Commit 67344f8

Browse files
authored
Merge pull request #257 from TomFryers/patch-2
Fix Python complexity checks
2 parents a784dba + b412baf commit 67344f8

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

languages.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4838,15 +4838,28 @@
48384838
"complexitychecks": [
48394839
"for ",
48404840
"for(",
4841+
"while ",
4842+
"while(",
48414843
"if ",
48424844
"if(",
4843-
"switch ",
4844-
"while ",
4845+
"elif ",
4846+
"elif(",
48454847
"else ",
4848+
"else:",
4849+
"match ",
4850+
"match(",
4851+
"try ",
4852+
"try:",
4853+
"except ",
4854+
"except(",
4855+
"finally ",
4856+
"finally:",
4857+
"with ",
4858+
"with (",
48464859
"and ",
4860+
"and(",
48474861
"or ",
4848-
"not ",
4849-
"in "
4862+
"or(",
48504863
],
48514864
"extensions": [
48524865
"py"

0 commit comments

Comments
 (0)