From 9766f55313ad85705232fafbf0504ecd0f6da23c Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Tue, 15 May 2018 22:43:17 +0100 Subject: fix flake8 issues --- git_deps/__init__.py | 2 +- tests/conftest.py | 2 +- tests/test_GitUtils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/git_deps/__init__.py b/git_deps/__init__.py index 896994c..27a754c 100644 --- a/git_deps/__init__.py +++ b/git_deps/__init__.py @@ -2,5 +2,5 @@ import pkg_resources try: __version__ = pkg_resources.get_distribution(__name__).version -except: +except pkg_resources.DistributionNotFound: __version__ = 'unknown' diff --git a/tests/conftest.py b/tests/conftest.py index a2dac00..4bea8c5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -9,4 +9,4 @@ """ from __future__ import print_function, absolute_import, division -import pytest +# import pytest diff --git a/tests/test_GitUtils.py b/tests/test_GitUtils.py index c5f79ca..8d90d05 100644 --- a/tests/test_GitUtils.py +++ b/tests/test_GitUtils.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -import pytest +# import pytest from git_deps.gitutils import GitUtils __author__ = "Adam Spiers" -- cgit