Skip to content

Suppress mypy errors due to untyped libraries#62

Merged
Fingel merged 2 commits intoAEONplus:mainfrom
saltastroops:suppress-untyped-library-errors
May 7, 2026
Merged

Suppress mypy errors due to untyped libraries#62
Fingel merged 2 commits intoAEONplus:mainfrom
saltastroops:suppress-untyped-library-errors

Conversation

@hettlage
Copy link
Copy Markdown
Contributor

Several libraries used by AEONlib don't have type hints and therefore give errors when you type-check with mypy. The pyproject.toml file has been updated to tell mypy to ignore these libraries.

The only error remaining is for the lxml library. There exists a typing package for this library. I would suggest to add this as a dev dependency and remove it from the optional dependency group "lt".

Some packages previously were erroneously excluded because the mypy instance used wasn't running in the virtual environment and hewnce did not pick them up.
@Fingel
Copy link
Copy Markdown
Contributor

Fingel commented May 7, 2026

How are you finding mypy? I don't actually use it - just been using pyright/ty.

@Fingel Fingel merged commit a90af60 into AEONplus:main May 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants