Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Linted #27

Merged
merged 1 commit into from
Nov 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
name: pylint (library code)
types: [python]
args:
- --disable=consider-using-f-string
- --disable=consider-using-f-string,duplicate-code
exclude: "^(docs/|examples/|tests/|setup.py$)"
- id: pylint
name: pylint (example code)
Expand Down
2 changes: 1 addition & 1 deletion adafruit_thermal_printer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_printer_class(version):
if version >= 2.168:
import adafruit_thermal_printer.thermal_printer_2168 as thermal_printer
elif version >= 2.68:
import adafruit_thermal_printer.thermal_printer as thermal_printer
from adafruit_thermal_printer import thermal_printer
elif version >= 2.64:
import adafruit_thermal_printer.thermal_printer_264 as thermal_printer
else:
Expand Down
2 changes: 1 addition & 1 deletion adafruit_thermal_printer/thermal_printer_2168.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""


import adafruit_thermal_printer.thermal_printer as thermal_printer
from adafruit_thermal_printer import thermal_printer


# pylint: disable=too-many-arguments
Expand Down
2 changes: 1 addition & 1 deletion adafruit_thermal_printer/thermal_printer_264.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"""
from micropython import const

import adafruit_thermal_printer.thermal_printer as thermal_printer
from adafruit_thermal_printer import thermal_printer


__version__ = "0.0.0-auto.0"
Expand Down
2 changes: 1 addition & 1 deletion adafruit_thermal_printer/thermal_printer_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"""
from micropython import const

import adafruit_thermal_printer.thermal_printer as thermal_printer
from adafruit_thermal_printer import thermal_printer


__version__ = "0.0.0-auto.0"
Expand Down