Skip to content

Commit

Permalink
Create .codeclimate.yml
Browse files Browse the repository at this point in the history
Signed-off-by: KonanAI <[email protected]>
  • Loading branch information
konan-ai authored Jul 15, 2023
1 parent 3f4aabe commit 546e378
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 4
complex-logic:
enabled: true
config:
threshold: 4
file-lines:
enabled: true
config:
threshold: 250
method-complexity:
enabled: true
config:
threshold: 5
method-count:
enabled: true
config:
threshold: 20
method-lines:
enabled: true
config:
threshold: 25
nested-control-flow:
enabled: true
return-statements:
enabled: true
similar-code:
enabled: true
identical-code:
enabled: true
exclude_patterns:
- "**/__init__.py"
plugins:
radon:
enabled: true
pep8:
enabled: true
fixme:
enabled: true
coverage:
enabled: true
config:
report_paths:
- "coverage.xml"

0 comments on commit 546e378

Please sign in to comment.