Skip to content

Commit 85ae828

Browse files
committed
remove __future__ imports
1 parent 54e6f86 commit 85ae828

Some content is hidden

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

71 files changed

+13
-198
lines changed

RELEASE

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
$ python setup.py test
2-
# update version in setup.py, pyx12.__init__.py
3-
# verify test is passing on travis
4-
$ git tag vX.Y.Z
5-
$ git push origin vX.Y.Z
6-
$python setup.py sdist upload -r pypitest
7-
$python setup.py bdist_wheel upload -r pypitest
8-
$python setup.py sdist upload
9-
$python setup.py bdist_wheel upload
10-
11-
mkvirtualenv pyx12-dist -i pyx12
12-
functional tests
1+
# run unit tests
2+
# update version in setup.py, pyx12.version.py
3+
# verify test is passing on Github
4+
# Create release and tag on Github
5+
# Verify PyPI release
6+
# Update venv
7+
# run functional tests

pyx12/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
"""
22
Validate and transform HIPAA X12 documents
33
"""
4-
from __future__ import absolute_import
5-
6-
from __future__ import unicode_literals
74
__author__ = "John Holland <[email protected]>"
85
__status__ = "production"
96
from .version import __version__
10-
__date__ = "2019-12-23"
7+
__date__ = "2021-05-28"
118
__revision__ = ""

pyx12/codes.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
External Codes interface
1313
"""
1414

15-
from __future__ import absolute_import
16-
from __future__ import print_function
17-
from __future__ import unicode_literals
1815
import os.path
1916
import logging
2017
import xml.etree.cElementTree as et

pyx12/dataele.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
Interface to normalized Data Elements
1313
"""
1414

15-
from __future__ import absolute_import
16-
from __future__ import print_function
17-
from __future__ import unicode_literals
1815
import os.path
1916
import logging
2017
import xml.etree.cElementTree as et

pyx12/decorators.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import print_function
3-
from __future__ import unicode_literals
41
import functools
52
import collections
63

pyx12/errh_xml.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
Capture X12 Errors
1313
"""
1414

15-
from __future__ import absolute_import
16-
from __future__ import unicode_literals
1715
import logging
1816
import tempfile
1917
import os

pyx12/error_997.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
Visitor - Visits an error_handler composite
1414
"""
1515

16-
from __future__ import absolute_import
17-
from __future__ import unicode_literals
1816
import time
1917
import logging
2018

pyx12/error_999.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
Visitor - Visits an error_handler composite
1414
"""
1515

16-
from __future__ import absolute_import
17-
from __future__ import unicode_literals
1816
import time
1917
import logging
2018
import random

pyx12/error_debug.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
"""
1515

1616
# Intrapackage imports
17-
from __future__ import print_function
18-
from __future__ import unicode_literals
1917
from .error_visitor import error_visitor
2018

2119

pyx12/error_handler.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
Interface to X12 Errors
1313
"""
1414

15-
from __future__ import absolute_import
16-
from __future__ import unicode_literals
1715
import logging
1816

1917
# Intrapackage imports

0 commit comments

Comments
 (0)