Skip to content
Snippets Groups Projects
Commit f5a7e0d4 authored by nimrod's avatar nimrod
Browse files

- Explicitly exclude Makefile from MANIFEST.in (silent check-manifest).

- Added .cache to gitignore.
- Corrected some flake8 whitespace errors.
- Disabled 'from unshare import *' flake8 error.
parent e2184ffb
No related branches found
No related tags found
No related merge requests found
...@@ -10,3 +10,4 @@ dist/ ...@@ -10,3 +10,4 @@ dist/
__pycache__/ __pycache__/
*.log *.log
.tox .tox
.cache
recursive-include unshare recursive-include unshare
exclude .pre-commit-config.yaml exclude .pre-commit-config.yaml Makefile
import unshare import unshare
def import_assestions(): def import_assestions():
for macro in 'CLONE_NEWUTS', 'MS_SHARED': for macro in 'CLONE_NEWUTS', 'MS_SHARED':
assert macro in dir(unshare) assert macro in dir(unshare)
for function in 'clone', 'pivot_root': for function in 'clone', 'pivot_root':
assert function in dir(unshare) assert function in dir(unshare)
[flake8]
ignore=F403
exclude = .tox,*.egg,build,data,unshare/constants.py
[tox] [tox]
envlist = py{27,35} envlist = py{27,35}
...@@ -15,8 +19,3 @@ commands = ...@@ -15,8 +19,3 @@ commands =
{py27,py35}: python setup.py check -m -r -s {py27,py35}: python setup.py check -m -r -s
flake8 . flake8 .
py.test tests py.test tests
[flake8]
ignore=F403
exclude = .tox,*.egg,build,data,unshare/constants.py
select = E,W,F
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment