Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable mypy checks #381

Merged
merged 24 commits into from
Jul 2, 2024
Merged

Enable mypy checks #381

merged 24 commits into from
Jul 2, 2024

Conversation

Andrew-Dickinson
Copy link
Member

Enable type checking in invoke lint (and therefore the CI system)

This required a lot of wrangling with types. This is particularly painful with some of the Django stuff and in the end I gave up and added ignores in quite a few places

@Andrew-Dickinson
Copy link
Member Author

Closes #266

@Andrew-Dickinson
Copy link
Member Author

I hate to be that guy but uhhh.... works on my machine

@Andrew-Dickinson
Copy link
Member Author

FINALLY AHHHHH

Copy link
Collaborator

@WillNilges WillNilges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, I have some questions.

src/meshapi/admin/building.py Outdated Show resolved Hide resolved
src/meshapi/models/node.py Show resolved Hide resolved
src/meshapi/serializers/map.py Show resolved Hide resolved
Copy link
Collaborator

@WillNilges WillNilges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Andrew-Dickinson Andrew-Dickinson enabled auto-merge (squash) July 2, 2024 23:00
@Andrew-Dickinson Andrew-Dickinson merged commit 7f368ba into main Jul 2, 2024
7 checks passed
@Andrew-Dickinson Andrew-Dickinson deleted the andrew/add-mypy branch July 6, 2024 01:43
@Andrew-Dickinson Andrew-Dickinson mentioned this pull request Jul 6, 2024
3 tasks
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.

3 participants