From a34c87f080c7276292559b1f9f6376cac5429d51 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Mon, 6 Aug 2018 11:50:10 +0100 Subject: [PATCH] Exclude wagtail/utils/l18n from linting --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index e662240d32..dff1f1df0c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,13 +3,14 @@ python-tag = py3 [flake8] ignore = E501,E303 -exclude = wagtail/project_template/* +exclude = wagtail/project_template/*,wagtail/utils/l18n/* max-line-length = 120 [isort] line_length=100 multi_line_output=4 skip=migrations,project_template +skip_glob=*/wagtail/utils/l18n/* known_first_party=wagtail known_third_party=willow,modelcluster,taggit,django,unidecode,bs4,pytz,PIL