Skip to content

Commit

Permalink
Cleanup linter config
Browse files Browse the repository at this point in the history
  • Loading branch information
xs5871 committed May 26, 2024
1 parent 7310dd4 commit dfefe5a
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ docstring-quotes = '''
multiline-quotes = '''

extend-ignore =
X100, E262,
# comply with black
# it will handle line lengths automatically
# ignore: comment should start with '# '
E262,
# comply with black
# it will handle line lengths automatically
E501,
# it also controls trailing commas in general
# it also controls trailing commas in general
C812, C813

per-file-ignores =
# Allow misaligned array entries, unused variables,
# multiple spaces after commas in lists (for grid alignment), and put
# your imports in whatever order you want
user_keymaps/**/*.py: E131,BLK100,I003
boards/**/*.py: E131,BLK100,I003
# Allow misaligned array entries
user_keymaps/**/*.py: E131
boards/**/*.py: E131

[isort]
known_standard_library =
Expand All @@ -31,20 +30,13 @@ known_standard_library =
busio,
digitalio,
framebuf,
gamepad,
gc,
machine,
microcontroller,
micropython,
neopixel,
pulseio,
pyb,
pyb,
pydux,
supervisor,
ubluepy,
uio,
uos,
usb_hid,

# black compat
Expand Down

0 comments on commit dfefe5a

Please sign in to comment.