From f5a7e0d4276629396941d7041a3e039154de5428 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Mon, 7 Mar 2016 09:54:14 +0200
Subject: [PATCH] - Explicitly exclude Makefile from MANIFEST.in (silent
 check-manifest). - Added .cache to gitignore. - Corrected some flake8
 whitespace errors. - Disabled 'from unshare import *' flake8 error.

---
 .gitignore                | 1 +
 MANIFEST.in               | 2 +-
 tests/basic_assertions.py | 2 +-
 tox.ini                   | 9 ++++-----
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index 55a0adf..53bd95c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ dist/
 __pycache__/
 *.log
 .tox
+.cache
diff --git a/MANIFEST.in b/MANIFEST.in
index 6b42c14..9620571 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,2 +1,2 @@
 recursive-include unshare
-exclude .pre-commit-config.yaml
+exclude .pre-commit-config.yaml Makefile
diff --git a/tests/basic_assertions.py b/tests/basic_assertions.py
index 7f2cca9..27c0a73 100755
--- a/tests/basic_assertions.py
+++ b/tests/basic_assertions.py
@@ -1,8 +1,8 @@
 import unshare
 
+
 def import_assestions():
     for macro in 'CLONE_NEWUTS', 'MS_SHARED':
         assert macro in dir(unshare)
-    
     for function in 'clone', 'pivot_root':
         assert function in dir(unshare)
diff --git a/tox.ini b/tox.ini
index ce80bcb..06479f0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,3 +1,7 @@
+[flake8]
+ignore=F403
+exclude = .tox,*.egg,build,data,unshare/constants.py
+
 [tox]
 envlist = py{27,35}
 
@@ -15,8 +19,3 @@ commands =
     {py27,py35}: python setup.py check -m -r -s
     flake8 .
     py.test tests
-
-[flake8]
-ignore=F403
-exclude = .tox,*.egg,build,data,unshare/constants.py
-select = E,W,F
-- 
GitLab