diff --git a/docs/conf.py b/docs/conf.py index 7cfb3203dc..8ad9caf9b1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 @@ -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."), ] diff --git a/pyproject.toml b/pyproject.toml index 3133b0eea4..65a7971c88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 ]