From 13bc910d7c966e339296b05f1c0930588688c448 Mon Sep 17 00:00:00 2001 From: koooge Date: Wed, 30 Jan 2019 17:51:32 +0900 Subject: [PATCH] Update CodeClimate configuration format to Version 2 (#3286) * codeclimate: Update format v2 * codeclimate: Ignore generated files --- .codeclimate.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index dc8e2992..119550ee 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,4 +1,5 @@ -engines: +version: "2" +plugins: pep8: enabled: true eslint: @@ -11,12 +12,11 @@ engines: enabled: false no-multiple-empty-lines: # TODO: Enable enabled: false -ratings: - paths: - - "redash/**/*.py" - - "client/**/*.js" -exclude_paths: -- tests/**/*.py -- migrations/**/*.py -- setup/**/* -- bin/**/* +exclude_patterns: +- "tests/**/*.py" +- "migrations/**/*.py" +- "setup/**/*" +- "bin/**/*" +- "**/node_modules/" +- "client/dist/" +- "**/*.pyc"