Skip to content

Commit

Permalink
Ignore migrations for codeclimate check
Browse files Browse the repository at this point in the history
  • Loading branch information
elnappo committed Mar 8, 2019
1 parent a8c7a5e commit 7a299cf
Showing 1 changed file with 53 additions and 1 deletion.
54 changes: 53 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,60 @@
version: "2"
engines:
checks:
argument-count:
config:
threshold: 4
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 250
method-complexity:
config:
threshold: 5
method-count:
config:
threshold: 20
method-lines:
config:
threshold: 25
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 4
similar-code:
config:
threshold: # language-specific defaults. an override will affect all languages.
identical-code:
config:
threshold: # language-specific defaults. an override will affect all languages.
plugins:
pep8:
enabled: true
sonar-python:
enabled: true
radon:
enabled: true
bandit:
enabled: true
duplication:
enabled: true
config:
languages:
python:
python_version: 3
exclude_patterns:
- "config/"
- "db/"
- "dist/"
- "features/"
- "**/node_modules/"
- "script/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/vendor/"
- "**/*.d.ts"
- "**/migrations/"

0 comments on commit 7a299cf

Please sign in to comment.