summaryrefslogtreecommitdiff
path: root/.codeclimate.yml
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2019-08-04 21:09:42 +0200
committerSybren A. Stüvel <sybren@stuvel.eu>2019-08-04 21:09:42 +0200
commit96e13dd86b6777c86e199e9a98cd7182f1385353 (patch)
treeac20406b6aa7e52c7160645e2faebbc816891e11 /.codeclimate.yml
parenta5d1d260852c6d846d7cff1e8d6553825d0a169d (diff)
downloadrsa-git-96e13dd86b6777c86e199e9a98cd7182f1385353.tar.gz
Configured CodeClimate
I've overridden the default configuration in such a way that the code as it is now passes all the code smells checks. Especially the default code complexity threshold is extremely low.
Diffstat (limited to '.codeclimate.yml')
-rw-r--r--.codeclimate.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.codeclimate.yml b/.codeclimate.yml
index 907c00b..077382c 100644
--- a/.codeclimate.yml
+++ b/.codeclimate.yml
@@ -15,3 +15,13 @@ ratings:
- "**.py"
exclude_paths:
- tests/**/*
+checks:
+ argument-count:
+ config:
+ threshold: 5
+ file-lines:
+ config:
+ threshold: 1000
+ method-complexity:
+ config:
+ threshold: 17