Skip to content

Commit

Permalink
Add Maintainability badage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Jun 6, 2024
1 parent 5e17541 commit bc8516f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
version: "2"
checks:
file-lines:
config:
threshold: 400

similar-code:
config:
languages:
python:
threshold: 40

method-complexity:
config:
threshold: 7

plugins:
markdownlint:
enabled: true
pep8:
enabled: true
radon:
enabled: true
config:
threshold: "C"
sonar-python:
enabled: true
shellcheck:
enabled: true
editorconfig:
enabled: true
config:
editorconfig: .editorconfig
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# compliance-tool

[![Documentation Status](https://readthedocs.org/projects/compliance-tool/badge/?version=latest)](https://compliance-tool.readthedocs.io/en/latest/?badge=latest)
[![Maintainability](https://api.codeclimate.com/v1/badges/a7262d19c1745a48659f/maintainability)](https://codeclimate.com/github/ComplianceAsCode/compliance-tool/maintainability)

0 comments on commit bc8516f

Please sign in to comment.