[pyfr] 11/32: Remove some unnecessary imports.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Apr 21 08:21:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pyfr.

commit c267ae0f57c09efd76d3914c9454c5bc2de1cef4
Author: Freddie Witherden <freddie at witherden.org>
Date:   Sun Feb 7 17:58:46 2016 +0000

    Remove some unnecessary imports.
---
 pyfr/backends/base/backend.py | 1 -
 pyfr/readers/native.py        | 1 -
 pyfr/shapes.py                | 2 +-
 pyfr/writers/base.py          | 2 --
 4 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/pyfr/backends/base/backend.py b/pyfr/backends/base/backend.py
index e3410a9..a8519cd 100644
--- a/pyfr/backends/base/backend.py
+++ b/pyfr/backends/base/backend.py
@@ -3,7 +3,6 @@
 from abc import ABCMeta, abstractmethod
 from collections import defaultdict
 from functools import wraps
-from inspect import getcallargs
 from itertools import count
 from weakref import WeakValueDictionary, WeakKeyDictionary
 
diff --git a/pyfr/readers/native.py b/pyfr/readers/native.py
index e3764e0..9823562 100644
--- a/pyfr/readers/native.py
+++ b/pyfr/readers/native.py
@@ -6,7 +6,6 @@ import re
 import h5py
 import numpy as np
 
-from pyfr.shapes import BaseShape
 from pyfr.util import memoize
 
 
diff --git a/pyfr/shapes.py b/pyfr/shapes.py
index 15c8f8a..6befa2d 100644
--- a/pyfr/shapes.py
+++ b/pyfr/shapes.py
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 
 import itertools as it
-from math import exp, sqrt
+from math import exp
 import re
 
 import numpy as np
diff --git a/pyfr/writers/base.py b/pyfr/writers/base.py
index f0fe8df..6d8db46 100644
--- a/pyfr/writers/base.py
+++ b/pyfr/writers/base.py
@@ -1,7 +1,5 @@
 # -*- coding: utf-8 -*-
 
-import os
-
 from pyfr.inifile import Inifile
 from pyfr.readers.native import NativeReader
 from pyfr.util import subclass_where

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfr.git



More information about the debian-science-commits mailing list