Skip to content

Commit

Permalink
Merge pull request #800 from Ipuch/ymlclimate
Browse files Browse the repository at this point in the history
yml code climate
  • Loading branch information
pariterre authored Jan 8, 2024
2 parents 237d736 + 021b9a8 commit 1030ae7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions bioptim/.codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: "1" # required to adjust maintainability checks
checks:
argument-count:
config:
threshold: 6
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 500
method-complexity:
config:
threshold: 5
method-count:
config:
threshold: 40
method-lines:
config:
threshold: 25
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 4
similar-code:
config:
threshold: # language-specific defaults. an override will affect all languages.
identical-code:
config:
threshold: # language-specific defaults. an override will affect all languages.

0 comments on commit 1030ae7

Please sign in to comment.