Skip to content

Commit c937ce9

Browse files
committed
Delete commented-out code
1 parent 210cd3a commit c937ce9

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

docs/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
# add these directories to sys.path here. If the directory is relative to the
99
# documentation root, use os.path.abspath to make it absolute, like shown here.
1010
#
11-
# import os
12-
# import sys
13-
# sys.path.insert(0, os.path.abspath('.'))
1411
import barcode
1512

1613
# -- Project information -----------------------------------------------------

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ select = [
3232
"TID",
3333
"TCH",
3434
"INT",
35+
"ERA",
3536
]
3637
target-version = "py37"
3738

tests/test_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ def test_generate_with_bytesio():
3939
bio = BytesIO()
4040
barcode.generate("ean13", "123455559121112", output=bio)
4141
# XXX: File is not 100% deterministic; needs to be addressed at some point.
42-
# assert len(bio.getvalue()) == 6127
42+
# assert len(bio.getvalue()) == 6127 # noqa: ERA001

0 commit comments

Comments
 (0)