CircuitPython-provided modules should be considered stdlib-equiv by isort terms. Apply this new rule.
This commit is contained in:
parent
11a4604f88
commit
45cadc7e5a
@ -1,7 +1,6 @@
|
||||
import pulseio
|
||||
import time
|
||||
from math import e, exp, pi, sin
|
||||
|
||||
import pulseio
|
||||
from micropython import const
|
||||
|
||||
led_config = {
|
||||
|
@ -1,6 +1,5 @@
|
||||
import time
|
||||
from math import e, exp, pi, sin
|
||||
|
||||
from micropython import const
|
||||
|
||||
rgb_config = {
|
||||
|
27
setup.cfg
27
setup.cfg
@ -22,10 +22,33 @@ per-file-ignores =
|
||||
user_keymaps/**/*.py: F401,E501,E241,E131,BLK100
|
||||
tests/test_data/keymaps/**/*.py: F401,E501
|
||||
# Forgive me for my RAM hack sins
|
||||
kmk/keyboard_config.py: I001,I003,I004,F401
|
||||
kmk/preload_imports.py: I001,I003,I004,F401
|
||||
|
||||
[isort]
|
||||
known_third_party = analogio,bitbangio,bleio,board,busio,digitalio,framebuf,gamepad,gc,microcontroller,micropython,pulseio,pyb,pydux,uio,ubluepy,machine,pyb,uos
|
||||
known_standard_library =
|
||||
analogio,
|
||||
bitbangio,
|
||||
bleio,
|
||||
board,
|
||||
busio,
|
||||
digitalio,
|
||||
framebuf,
|
||||
gamepad,
|
||||
gc,
|
||||
machine,
|
||||
microcontroller,
|
||||
micropython,
|
||||
neopixel,
|
||||
pulseio,
|
||||
pyb,
|
||||
pyb,
|
||||
pydux,
|
||||
supervisor,
|
||||
ubluepy,
|
||||
uio,
|
||||
uos,
|
||||
|
||||
# black compat
|
||||
multi_line_output=3
|
||||
include_trailing_comma=True
|
||||
force_grid_wrap=0
|
||||
|
Loading…
Reference in New Issue
Block a user