aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2018-05-15 22:43:17 +0100
committerAdam Spiers <git@adamspiers.org>2018-05-15 22:52:07 +0100
commit9766f55313ad85705232fafbf0504ecd0f6da23c (patch)
tree1686742cb014123e0d2049ce9d0e8b7d4da4c46e
parent2f9ced05fb64dd9fb6708163682e2ec0fd503768 (diff)
downloadgit-deps-9766f55313ad85705232fafbf0504ecd0f6da23c.tar.gz
fix flake8 issues
-rw-r--r--git_deps/__init__.py2
-rw-r--r--tests/conftest.py2
-rw-r--r--tests/test_GitUtils.py2
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"