diff --git a/.codeclimate.yml b/.codeclimate.yml
new file mode 100644
index 0000000..b62e2ab
--- /dev/null
+++ b/.codeclimate.yml
@@ -0,0 +1,11 @@
+version: "2"
+checks:
+ method-complexity:
+ config:
+ threshold: 8
+engines:
+ bandit:
+ enabled: true
+ checks:
+ assert_used:
+ enabled: false
diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml
index 3fe58f4..5b0ce2f 100644
--- a/.github/workflows/test-package.yml
+++ b/.github/workflows/test-package.yml
@@ -66,3 +66,7 @@ jobs:
- run: mypy --config-file mypy.ini ormar tests
- name: Upload coverage
uses: codecov/codecov-action@v1
+ - name: Test & publish code coverage
+ uses: paambaati/codeclimate-action@v2.7.5
+ env:
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_COVERAGE_TOKEN }}
diff --git a/README.md b/README.md
index 8804d8d..2a94149 100644
--- a/README.md
+++ b/README.md
@@ -13,9 +13,6 @@
-
-
-