[core] Enable ruff FLY (flynt) lint family (#16182)

This commit is contained in:
J. Nick Koston
2026-04-30 21:20:07 -05:00
committed by GitHub
parent f6e39d305d
commit b8dfffdf06
2 changed files with 2 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ def patch_file_downloader() -> None:
FileDownloader.__init__ = patched_init
_IGNORE_LIB_WARNINGS = f"(?:{'|'.join(['Hash', 'Update'])})"
_IGNORE_LIB_WARNINGS = "(?:Hash|Update)"
# Regex patterns matched against each line of PlatformIO output. Lines that
# match are dropped by RedirectText before they reach the parent process.
# Patterns are anchored at the start of the line (RedirectText uses

View File

@@ -113,6 +113,7 @@ exclude = ['generated']
select = [
"E", # pycodestyle
"F", # pyflakes/autoflake
"FLY", # flynt: convert string formatting to f-strings
"FURB", # refurb
"I", # isort
"PERF", # performance