[PATCH 05/11] nmweb: (pylint) import built-in modules before third-party modules

Subject: [PATCH 05/11] nmweb: (pylint) import built-in modules before third-party modules

Date: Sun, 4 Feb 2018 23:19:53 -0500

To: Notmuch Mail

Cc:

From: Daniel Kahn Gillmor


---
 contrib/notmuch-web/nmweb.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/contrib/notmuch-web/nmweb.py b/contrib/notmuch-web/nmweb.py
index bee4896e..6c687554 100755
--- a/contrib/notmuch-web/nmweb.py
+++ b/contrib/notmuch-web/nmweb.py
@@ -2,15 +2,16 @@
 
 from __future__ import absolute_import
 
-import web
-from notmuch import Database, Query, Message
 import urllib
 from datetime import datetime
 from mailbox import MaildirMessage
-import os
 import mimetypes
 import email
 import re
+import os
+
+import web
+from notmuch import Database, Query, Message
 from jinja2 import Environment, FileSystemLoader # FIXME to PackageLoader
 from jinja2 import Markup
 
-- 
2.15.1

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: