Skip to content

Commit 5cb6df5

Browse files
author
Hugo Osvaldo Barrera
committed
Tidy up a few more star imports
1 parent 1d4541a commit 5cb6df5

6 files changed

Lines changed: 29 additions & 22 deletions

File tree

barcode/codex.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
"""Module: barcode.codex
2+
3+
:Provided barcodes: Code 39, Code 128, PZN
4+
"""
5+
16
from barcode.base import Barcode
27
from barcode.charsets import code128, code39
38
from barcode.errors import (
@@ -6,10 +11,6 @@
611
NumberOfDigitsError,
712
)
813

9-
"""Module: barcode.codex
10-
11-
:Provided barcodes: Code 39, Code 128, PZN
12-
"""
1314
__docformat__ = 'restructuredtext en'
1415

1516

barcode/ean.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2+
"""Module: barcode.ean
3+
4+
:Provided barcodes: EAN-14, EAN-13, EAN-8, JAN
5+
"""
6+
__docformat__ = 'restructuredtext en'
7+
18
from barcode.base import Barcode
29
from barcode.charsets import ean as _ean
310
from barcode.errors import (
@@ -6,12 +13,6 @@
613
WrongCountryCodeError,
714
)
815

9-
"""Module: barcode.ean
10-
11-
:Provided barcodes: EAN-14, EAN-13, EAN-8, JAN
12-
"""
13-
__docformat__ = 'restructuredtext en'
14-
1516
# Python 3
1617
try:
1718
reduce

barcode/errors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""barcode.errors
2-
"""
1+
"""barcode.errors"""
32
__docformat__ = 'restructuredtext en'
43

54

barcode/isxn.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from barcode.ean import EuropeanArticleNumber13
2-
from barcode.errors import *
3-
41
"""Module: barcode.isxn
52
63
:Provided barcodes: ISBN-13, ISBN-10, ISSN
@@ -24,6 +21,12 @@
2421
'0132354187'
2522
2623
"""
24+
from barcode.ean import EuropeanArticleNumber13
25+
from barcode.errors import (
26+
BarcodeError,
27+
WrongCountryCodeError,
28+
)
29+
2730
__docformat__ = 'restructuredtext en'
2831

2932

barcode/itf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
from barcode.base import Barcode
2-
from barcode.charsets import itf
3-
from barcode.errors import (
4-
IllegalCharacterError,
5-
)
6-
71
"""Module: barcode.itf
82
93
:Provided barcodes: Interleaved 2 of 5
104
"""
115
__docformat__ = 'restructuredtext en'
126

7+
from barcode.base import Barcode
8+
from barcode.charsets import itf
9+
from barcode.errors import (
10+
IllegalCharacterError,
11+
)
12+
1313

1414
MIN_SIZE = 0.2
1515
MIN_QUIET_ZONE = 6.4

barcode/upc.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
from barcode.base import Barcode
22
from barcode.charsets import upc as _upc
3-
from barcode.errors import *
3+
from barcode.errors import (
4+
IllegalCharacterError,
5+
NumberOfDigitsError,
6+
)
47

58
try:
69
reduce

0 commit comments

Comments
 (0)