Skip to content

Commit

Permalink
Create .codeclimate.yml (#84)
Browse files Browse the repository at this point in the history
Copy the code climate settings from qutip but also apply code climate to tests
  • Loading branch information
BoxiLi committed Jul 26, 2021
1 parent 16818cc commit 10c6db1
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
version: "2"
exclude_patterns:
- "doc/"
- "dist/"
checks:
argument-count:
config:
threshold: 10
complex-logic:
config:
threshold: 20
file-lines:
enabled: false
method-complexity:
config:
threshold: 20
method-count:
config:
threshold: 75
method-lines:
config:
threshold: 100
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 4
similar-code:
config:
threshold: 64
identical-code:
config:
threshold: 64
plugins:
fixme:
enabled: true
pep8:
enabled: true
duplication:
enabled: true
config:
languages:
python:
python_version: 3

0 comments on commit 10c6db1

Please sign in to comment.