Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Enable codeclimate

Patryk Zawadzki1e41ee8b8d15
diff --git a/.codeclimate.yml b/.codeclimate.yml
new file mode 100644
index 0000000000..bf4f9b1486
--- /dev/null
+++ b/.codeclimate.yml
@@ -0,0 +1,5 @@
+engines:
+ eslint:
+ enabled: true
+ pep8:
+ enabled: true
diff --git a/.gitignore b/.gitignore
index 031b621980..298dfab37d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
*.py[cod]
.*
!.babelrc
+!.codeclimate.yml
!.coveragerc
!.dockerignore
!.flowconfig
diff --git a/setup.cfg b/setup.cfg
index fa7b04371d..3dbfffbeef 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -24,3 +24,12 @@ exclude =
node_modules/,
*/migrations/
ignore = H101,H238,H301,H306
+
+[pep8]
+exclude =
+ .*/,
+ __pycache__/,
+ docs/,
+ node_modules/,
+ */migrations/
+ignore = H101,H238,H301,H306