From 6526c28bd60a35be5992fbc23409df5087071331 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 4 Apr 2019 17:04:55 -0400 Subject: [PATCH] check: cleanup file exclusions Some of these files no longer exist due to being devendored. BeautifulSoup.py is now something else entirely which is calibre-specific code and deserves the right to be linted. --- setup/check.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup/check.py b/setup/check.py index 8b26464918..dc4f56f598 100644 --- a/setup/check.py +++ b/setup/check.py @@ -30,11 +30,9 @@ class Check(Command): for x in os.walk(self.j(self.SRC, dname)): for f in x[-1]: y = self.j(x[0], f) - if x[0].endswith('calibre/ebooks/markdown'): - continue if (f.endswith('.py') and f not in ( - 'feedparser.py', 'markdown.py', 'BeautifulSoup.py', 'dict_data.py', - 'unicodepoints.py', 'krcodepoints.py', 'jacodepoints.py', 'vncodepoints.py', 'zhcodepoints.py') and + 'dict_data.py', 'unicodepoints.py', 'krcodepoints.py', + 'jacodepoints.py', 'vncodepoints.py', 'zhcodepoints.py') and 'prs500/driver.py' not in y) and not f.endswith('_ui.py'): yield y