Skip to content

Commit

Permalink
Merge pull request #257 from TomFryers/patch-2
Browse files Browse the repository at this point in the history
Fix Python complexity checks
  • Loading branch information
boyter committed Apr 27, 2021
2 parents a784dba + b412baf commit 67344f8
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions languages.json
Expand Up @@ -4838,15 +4838,28 @@
"complexitychecks": [
"for ",
"for(",
"while ",
"while(",
"if ",
"if(",
"switch ",
"while ",
"elif ",
"elif(",
"else ",
"else:",
"match ",
"match(",
"try ",
"try:",
"except ",
"except(",
"finally ",
"finally:",
"with ",
"with (",
"and ",
"and(",
"or ",
"not ",
"in "
"or(",
],
"extensions": [
"py"
Expand Down

0 comments on commit 67344f8

Please sign in to comment.