summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9971f08c..f8082055 100644
--- a/tox.ini
+++ b/tox.ini
@@ -65,7 +65,14 @@ filename=*.py,trove-*,app.wsgi
[hacking]
import_exceptions = trove.common.i18n
-local-check-factory = trove.hacking.checks.factory
+
+[flake8:local-plugins]
+extension =
+ T103= checks:check_raised_localized_exceptions
+ T104 = checks:check_no_basestring
+ T105 = checks:no_translate_logs
+ N335 = checks:assert_raises_regexp
+paths = ./trove/hacking
[testenv:api-ref]
# This environment is called from CI scripts to test and publish