Skip to content

Add mypy to the codebase #1773

Open
Open
@ChrisLovering

Description

@ChrisLovering

I'd like to propose that we add mypy to the codebase and add it to our linting workflow.

The initial PR for this would be a large one, fixing the legacy issues, but from then on it'll be picked up before a PR can even be merged.

There are stubs that we can add as dev dependencies for discord.py and any other deps that we find lacking in the type hinting department.

This issue is mostly for planning for now, as I'd like to get more opinions on this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: CIRelated to continuous intergration and deploymenta: dependenciesRelated to package dependencies and managementa: toolsDevelopment related to our toolchain (Docker, pipenv, flake8)p: 2 - normalNormal Prioritys: planningDiscussing detailst: featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions