Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit e41d262

Browse files
authored
Add wasm type (#234)
* Add wasm type * Add comment * Linting fixes
1 parent b0a6c98 commit e41d262

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Diff for: .github/linters/.python-lint

+1-1
Original file line numberDiff line numberDiff line change
@@ -467,4 +467,4 @@ valid-metaclass-classmethod-first-arg=mcs
467467

468468
# Exceptions that will emit a warning when being caught. Defaults to
469469
# "Exception"
470-
overgeneral-exceptions=Exception
470+
overgeneral-exceptions=builtins.Exception

Diff for: modules/transformation.py

+1
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ def aggregate_stats(entries, first_url, first_html_url, status_info):
552552
"mp4",
553553
"flv",
554554
"f4v",
555+
"wasm",
555556
]
556557
# initialize the hashes
557558
for typ in typs:

Diff for: modules/utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def get_ext(ext):
4444
return ret_ext
4545

4646

47+
# When adding to this make sure you also add to transformation.py aggregate_stats
4748
def pretty_type(mime_typ, ext):
4849
mime_typ = mime_typ.lower()
4950

0 commit comments

Comments
 (0)