1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-05-09 22:56:01 +02:00

Apply fixes from fixit

Apply recommended fix from fixit:

    RewriteToLiteral: It's slower to call list() than using the empty literal, because the name list must
    be looked up in the global scope in case it has been rebound.
This commit is contained in:
2023-11-22 21:54:50 +03:00
parent 80c3f5b45a
commit f6018c51b6
4 changed files with 10 additions and 10 deletions

View File

@ -85,7 +85,7 @@ def run(argv):
# user should be careful to no include spaces here.
exclude = args.exclude_fields.split(",")
else:
exclude = list()
exclude = []
# enable transparent request cache with thirty days expiry
expire_after = timedelta(days=30)