From 0f51a397cba4cab7c908518de8d532fc702a1a29 Mon Sep 17 00:00:00 2001
From: Jeremy Bowman <jbowman@edx.org>
Date: Thu, 26 Oct 2017 13:48:22 -0400
Subject: [PATCH] Exclude .tox directory from quality checks

---
 pylintrc        | 4 ++--
 pylintrc_tweaks | 2 +-
 setup.cfg       | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pylintrc b/pylintrc
index 041e883d07a..3658f1f647d 100644
--- a/pylintrc
+++ b/pylintrc
@@ -53,7 +53,7 @@
 #
 # ------------------------------
 [MASTER]
-ignore = ,.git,migrations,node_modules,.pycharm_helpers
+ignore = ,.git,.tox,migrations,node_modules,.pycharm_helpers
 persistent = yes
 load-plugins = edx_lint.pylint,pylint_django,pylint_celery
 
@@ -180,4 +180,4 @@ int-import-graph =
 [EXCEPTIONS]
 overgeneral-exceptions = Exception
 
-# 42ec1461de97fc01d7191c1c5f2fd5ec67671a61
+# 5c46ef5d76dd14aadf0311325da7f519a2241646
diff --git a/pylintrc_tweaks b/pylintrc_tweaks
index 982062cb1c3..6d479b623d2 100644
--- a/pylintrc_tweaks
+++ b/pylintrc_tweaks
@@ -1,6 +1,6 @@
 # pylintrc tweaks for use with edx_lint.
 [MASTER]
-ignore+ = ,.git,migrations,node_modules,.pycharm_helpers
+ignore+ = ,.git,.tox,migrations,node_modules,.pycharm_helpers
 
 [BASIC]
 attr-rgx = [a-z_][a-z0-9_]{2,40}$
diff --git a/setup.cfg b/setup.cfg
index 4d6f804c78d..88fa807e8b0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -35,7 +35,7 @@ python_files = tests.py test_*.py tests_*.py *_tests.py __init__.py
 #   It's a little unusual, but we have good reasons for doing so, so we disable
 #   this rule.
 ignore=E501,E265,W602
-exclude=migrations,.git,.pycharm_helpers,test_root/staticfiles,node_modules
+exclude=migrations,.git,.pycharm_helpers,.tox,test_root/staticfiles,node_modules
 
 [isort]
 indent='    '
-- 
GitLab