Linted
This commit is contained in:
parent
379ffdb655
commit
a971bbce7c
3 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ repos:
|
||||||
name: pylint (library code)
|
name: pylint (library code)
|
||||||
types: [python]
|
types: [python]
|
||||||
args:
|
args:
|
||||||
- --disable=consider-using-f-string
|
- --disable=consider-using-f-string,duplicate-code
|
||||||
exclude: "^(docs/|examples/|tests/|setup.py$)"
|
exclude: "^(docs/|examples/|tests/|setup.py$)"
|
||||||
- id: pylint
|
- id: pylint
|
||||||
name: pylint (example code)
|
name: pylint (example code)
|
||||||
|
|
|
@ -18,7 +18,7 @@ __version__ = "0.0.0-auto.0"
|
||||||
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PN532.git"
|
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PN532.git"
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import adafruit_bus_device.i2c_device as i2c_device
|
from adafruit_bus_device import i2c_device
|
||||||
from digitalio import Direction
|
from digitalio import Direction
|
||||||
from micropython import const
|
from micropython import const
|
||||||
from adafruit_pn532.adafruit_pn532 import PN532, BusyError
|
from adafruit_pn532.adafruit_pn532 import PN532, BusyError
|
||||||
|
|
|
@ -18,7 +18,7 @@ __version__ = "0.0.0-auto.0"
|
||||||
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PN532.git"
|
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PN532.git"
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import adafruit_bus_device.spi_device as spi_device
|
from adafruit_bus_device import spi_device
|
||||||
from micropython import const
|
from micropython import const
|
||||||
from adafruit_pn532.adafruit_pn532 import PN532
|
from adafruit_pn532.adafruit_pn532 import PN532
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue