Enable the UP025 Ruff rule to flag unnecessary Unicode prefixes (#2820)

This commit is contained in:
correctmost 2024-11-15 22:04:15 -05:00 committed by GitHub
parent 01b72b9293
commit 3b3dca7bc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -110,7 +110,7 @@ htmlhelp_basename = 'archinstalldoc'
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [("index", "archinstall", u"archinstall Documentation", [u"Anton Hvornum"], 1)]
man_pages = [("index", "archinstall", "archinstall Documentation", ["Anton Hvornum"], 1)]
# If true, show URL addresses after external links.
# man_show_urls = False
@ -122,5 +122,5 @@ man_pages = [("index", "archinstall", u"archinstall Documentation", [u"Anton Hvo
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
("index", "archinstall", u"archinstall Documentation", u"Anton Hvornum", "archinstall", "Simple and minimal HTTP server."),
("index", "archinstall", "archinstall Documentation", "Anton Hvornum", "archinstall", "Simple and minimal HTTP server."),
]

View File

@ -192,6 +192,7 @@ select = [
"RSE", # flake8-raise
"SLOT", # flake8-slot
"T10", # flake8-debugger
"UP025", # pyupgrade - unicode-kind-prefix
"W", # pycodestyle warnings
"YTT", # flake8-2020
]