Skip to content

Commit 0fc2c86

Browse files
authored
Merge pull request #648 from bobmyhill/rm_future
remove future calls
2 parents cf97551 + 7a55d05 commit 0fc2c86

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+27
-105
lines changed

burnman/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
and accepting our donation of BurnMan as an official project.
218218
219219
"""
220-
from __future__ import absolute_import
220+
221221
import importlib.metadata
222222

223223
# Low level utility functions

burnman/classes/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
BurnMan object classes
88
"""
99

10-
from __future__ import absolute_import
1110

1211
from . import material
1312
from . import perplex

burnman/classes/anisotropy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# Copyright (C) 2012 - 2021 by the BurnMan team, released under the GNU
44
# GPL v2 or later.
55

6-
from __future__ import absolute_import
7-
from __future__ import print_function
86

97
import numpy as np
108

burnman/classes/averaging_schemes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2012 - 2017 by the BurnMan team, released under the GNU
44
# GPL v2 or later.
55

6-
from __future__ import absolute_import
6+
77
import numpy as np
88
import warnings
99

burnman/classes/combinedmineral.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
# GPL v2 or later.
55

66

7-
from __future__ import absolute_import
8-
97
import numpy as np
108

119
from .mineral import Mineral, material_property

burnman/classes/composite.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# Copyright (C) 2012 - 2021 by the BurnMan team, released under the GNU
44
# GPL v2 or later.
55

6-
from __future__ import absolute_import
7-
from __future__ import print_function
6+
87
import numpy as np
98
from sympy import Matrix, nsimplify
109
import warnings

burnman/classes/composition.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import print_function
2-
31
# This file is part of BurnMan - a thermoelastic and thermodynamic toolkit for
42
# the Earth and Planetary Sciences
53
# Copyright (C) 2012 - 2018 by the BurnMan team, released under the GNU

burnman/classes/elasticsolution.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
# GPL v2 or later.
55

66

7-
from __future__ import absolute_import
8-
97
import numpy as np
108
from sympy import Matrix, nsimplify
119
import scipy.optimize as opt

burnman/classes/elasticsolutionmodel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Copyright (C) 2012 - 2022 by the BurnMan team, released under the GNU
44
# GPL v2 or later.
55

6-
from __future__ import absolute_import
76

87
import importlib
98
import warnings

burnman/classes/layer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import print_function
2-
31
# This file is part of BurnMan - a thermoelastic and thermodynamic toolkit for
42
# the Earth and Planetary Sciences
53
# Copyright (C) 2012 - 2017 by the BurnMan team, released under the GNU

0 commit comments

Comments
 (0)