Unnecessary list literal - rewrite as set literal syntax
24from apps.admin import requires_auth
25
26UPLOAD_FOLDER = "data/uploads"
27ALLOWED_EXTENSIONS = set(["xlsx"]) 28external_stylesheets = ["https://codepen.io/chriddyp/pen/bWLwgP.css"]
29
30server.config["UPLOAD_FOLDER"] = UPLOAD_FOLDER
Description
It is unnecessary to use a list
or tuple
literal within a call to tuple
, list
, set
, or dict
since there is a literal syntax for these types.