-
Notifications
You must be signed in to change notification settings - Fork 799
/
pycln.toml
25 lines (25 loc) · 979 Bytes
/
pycln.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[tool.pycln]
# Many imports with side-effects
all = true
skip_imports = [
# TODO: Confirm whether these produce side-effects,
# if yes: add to the list below
# if not: remove from here
# NOTE: https://github.com/mhammond/pywin32/pull/2342#discussion_r1798419855
# It seems we should be able to remove these. TODO in its own PR.
"win32api",
"win32file",
"win32gui",
"win32process",
"win32security",
"win32uiole",
# Modules with known side-effects
"coloreditor", # Adds doc template
"IDLEenvironment", # Injects fast_readline into the IDLE auto-indent extension
"pythoncom", # pythoncomXX.dll loader
"pywintypes", # pywintypesXX.dll loader
"win32com", # Sets pythoncom.frozen and adds modules to path based on the registry
"win32traceutil", # Redirects output to win32trace remote collector
"win32ui", # Must always be imported before dde
]
# Note: com/win32com/client/gencache.py does read files but only to fill in it's own dicts from cache