Enable the UP025 Ruff rule to flag unnecessary Unicode prefixes (#2820)
This commit is contained in:
parent
01b72b9293
commit
3b3dca7bc1
|
|
@ -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."),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue