Fixes in files for ruff T201, RUF001, PLR2004, B904, SLOT000, PYI024, PIE800

This commit is contained in:
boxydog 2024-05-31 10:41:24 -05:00
commit 82b48fcfa1
8 changed files with 18 additions and 20 deletions

View file

@ -53,14 +53,12 @@ class ComplexHTTPRequestHandler(server.SimpleHTTPRequestHandler):
extensions_map = {
**server.SimpleHTTPRequestHandler.extensions_map,
**{
# web fonts
".oft": "font/oft",
".sfnt": "font/sfnt",
".ttf": "font/ttf",
".woff": "font/woff",
".woff2": "font/woff2",
},
# web fonts
".oft": "font/oft",
".sfnt": "font/sfnt",
".ttf": "font/ttf",
".woff": "font/woff",
".woff2": "font/woff2",
}
def translate_path(self, path):