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

Make it MyPy and isort-friendly #131

Merged
merged 12 commits into from
Jul 6, 2020
Merged

Make it MyPy and isort-friendly #131

merged 12 commits into from
Jul 6, 2020

Conversation

reivilibre
Copy link
Contributor

Needs a change in the matrix-org/pipelines to enable in CI too.

Don't want to get rabbitholed with all the dependencies
so will skip those for now.
It always bothered me how the IDE couldn't make sense of this.

Neither can mypy…

Boilerplate isn't the nicest but at least it's very clear to
anyone what is going on.
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
@reivilibre reivilibre marked this pull request as ready for review July 2, 2020 16:40
@reivilibre reivilibre requested a review from clokep July 2, 2020 16:40
Copy link
Member

@clokep clokep left a comment

Choose a reason for hiding this comment

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

Looks good! I left a couple of questions, not sure if changes are needed or not for them.

mypy.ini Outdated Show resolved Hide resolved
sygnal/apnspushkin.py Outdated Show resolved Hide resolved
sygnal/notifications.py Outdated Show resolved Hide resolved
@reivilibre reivilibre changed the title Make it MyPy-friendly Make it MyPy and isort-friendly Jul 3, 2020
@reivilibre reivilibre requested a review from a team July 3, 2020 14:19
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm!

@reivilibre reivilibre merged commit a981860 into master Jul 6, 2020
@reivilibre reivilibre deleted the rei/mypy branch July 6, 2020 10:41
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