Sam W

Results 5 comments of Sam W

Way I see it, there are a few solutions: - Check to see if the file is json before including it in the listing - Move `sitemap.xml` elsewhere - Move...

Ah, ok. Thanks for looking and sorry for the misleading issue title!

I'm seeing this with current CDN version in Chrome 76 on macos too. (Apologies for the "me too" style comment, but given the time delay thought it worth adding!)

A workaround to avoid resorting to any `# type: ignore`s is to use `typing.cast`: ```python def func_that_uses_the_column() -> float: foo = db.query(Foo).first() return cast(float, foo.float_column) ``` https://mypy.readthedocs.io/en/stable/casts.html#casts-and-type-assertions