# type: ignore generated Python files 
As indicated in [PEP 484](https://peps.python.org/pep-0484/#compatibility-with-other-uses-of-function-annotations):

> To mark portions of the program that should not be covered by type hinting, you can use one or more of the following:
>
> a `# type: ignore` comment;

---

Kaitai generated Python code doesn't include type hints,
so I propose `# type: ignore`  be appended to the top of generated Python files, e.g.:

```py
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
# type: ignore

import kaitaistruct
from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO
```

This prevents tools such as `pyright` failing when it encounters these files.

---

I'm not too familiar with Scala, but I'm happy to have a go at a PR if someone can point me in the right direction.