Skip to content

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

Add pylint config

Patryk Zawadzki9bb2f9df19fa
diff --git a/.gitignore b/.gitignore
index 987d9a9722..2de615182f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,8 +5,9 @@
!.dockerignore
!.flowconfig
!.gitignore
-!.travis*
!.nvmrc
+!.pylintrc
+!.travis*
*.css
*.log
*.pot
diff --git a/.pylintrc b/.pylintrc
new file mode 100644
index 0000000000..36a2699308
--- /dev/null
+++ b/.pylintrc
@@ -0,0 +1,5 @@
+[MASTER]
+load-plugins=pylint_django
+
+[MESSAGES CONTROL]
+disable = C0103, C0111, W0621
diff --git a/saleor/settings.py b/saleor/settings.py
index 4494d0f8b9..3b83212f26 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -172,7 +172,7 @@ LOGGING = {
'formatters': {
'verbose': {
'format': '%(levelname)s %(asctime)s %(module)s '
- '%(process)d %(thread)d %(message)s'
+ '%(process)d %(thread)d %(message)s'
},
'simple': {
'format': '%(levelname)s %(message)s'