File tree Expand file tree Collapse file tree 3 files changed +36
-81
lines changed Expand file tree Collapse file tree 3 files changed +36
-81
lines changed Original file line number Diff line number Diff line change
1
+ [flake8]
2
+ extend-ignore =
3
+ X100, E262,
4
+ # See https://github.com/PyCQA/pycodestyle/issues/373
5
+ E203,
6
+ # black
7
+ max-line-length = 88
8
+ # black
Original file line number Diff line number Diff line change 1
1
[tool .black ]
2
- # since black refuses to allow single-quotes... see locked conversation at
3
- # https://github.com/psf/black/issues/594
4
- skip-string-normalization = true
5
- target = " py36"
6
- # explicitly exclude user_keymaps from black formatting rules
7
- # because a visually-appealing keymap list will be flattened
8
- # by black into a much harder to understand format
9
- exclude = '''
10
- /(
11
- \.git
12
- | \.mypy_cache
13
- | \.tox
14
- | \.venv
15
- | \.pytest_cache
16
- | \.compiled
17
- | dist
18
- | boards
19
- | build
20
- | docs
21
- | user_keymaps
22
- | mnt
23
- )/
24
- '''
2
+ target = [" py39" ]
3
+
4
+ [tool .isort ]
5
+ profile = " black"
6
+ known_standard_library = [
7
+ " analogio" ,
8
+ " bitbangio" ,
9
+ " bleio" ,
10
+ " board" ,
11
+ " busio" ,
12
+ " digitalio" ,
13
+ " framebuf" ,
14
+ " gamepad" ,
15
+ " gc" ,
16
+ " machine" ,
17
+ " microcontroller" ,
18
+ " micropython" ,
19
+ " neopixel" ,
20
+ " pulseio" ,
21
+ " pyb" ,
22
+ " pyb" ,
23
+ " pydux" ,
24
+ " supervisor" ,
25
+ " ubluepy" ,
26
+ " uio" ,
27
+ " uos" ,
28
+ " usb_hid" ,
29
+ ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments