From 02b147b6f4a355271043548877b7ba8c0b8f42a2 Mon Sep 17 00:00:00 2001 From: Saugat Pachhai Date: Fri, 19 Jun 2020 11:59:02 +0000 Subject: [PATCH] change codeclimate config (#4071) --- .codeclimate.yml | 24 +++++++++++++++++++----- .deepsource.toml | 4 ---- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index ac0927787..021fba7df 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,5 +1,19 @@ -languages: - Python: true - -exclude_paths: - - tests/ +version: "2" +checks: + argument-count: + config: + threshold: 8 + complex-logic: + config: + threshold: 6 + file-lines: + config: + threshold: 350 + method-complexity: + config: + threshold: 15 + method-count: + config: + threshold: 30 +exclude_patterns: + - tests diff --git a/.deepsource.toml b/.deepsource.toml index 94f915ff1..b09929aa9 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -4,10 +4,6 @@ test_patterns = [ 'tests/**' ] -exclude_patterns = [ - 'dvc/utils/compat.py' -] - [[analyzers]] name = 'python' enabled = true