Skip to content

Commit 6cee77d

Browse files
committed
Annotate class variable as such
See: https://peps.python.org/pep-0526/
1 parent 285d85d commit 6cee77d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

barcode/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""barcode.base
22
33
"""
4+
from typing import ClassVar
45
from typing import List
56
from typing import Optional
67

@@ -15,7 +16,7 @@ class Barcode:
1516

1617
default_writer = SVGWriter
1718

18-
default_writer_options = {
19+
default_writer_options: ClassVar[dict] = {
1920
"module_width": 0.2,
2021
"module_height": 15.0,
2122
"quiet_zone": 6.5,

0 commit comments

Comments
 (0)