Skip to content

Commit

Permalink
Enable the UP025 Ruff rule to flag unnecessary Unicode prefixes (#2820)
Browse files Browse the repository at this point in the history
  • Loading branch information
correctmost authored Nov 16, 2024
1 parent 01b72b9 commit 3b3dca7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def setup(app) -> None: # type: ignore[no-untyped-def]

# 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
Expand All @@ -122,5 +122,5 @@ def setup(app) -> None: # type: ignore[no-untyped-def]
# (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."),
]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
Expand Down

0 comments on commit 3b3dca7

Please sign in to comment.