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

(#83) [Fixed]: Mypy fixes in admin, models and manager accounts files. #96

Merged
merged 1 commit into from
Oct 18, 2020

Conversation

francescarpi
Copy link

mypy fixes.

#83

Files affected:

accounts/admin.py
accounts/models.py
accounts/managers.py

@francescarpi francescarpi added enhancement New feature or request backend Dev team labels Oct 17, 2020
@francescarpi francescarpi self-assigned this Oct 17, 2020
@francescarpi francescarpi mentioned this pull request Oct 17, 2020
35 tasks
@jbagot
Copy link

jbagot commented Oct 17, 2020

Have you take a decision about mypy? Do you want to keep it? Because mypy in the pipeline is deactivated because there are 200+ errors related with it. If you want to keep it, fine for me, but you should fix all the errors and then activate the pipeline check.
Or on the other hand, skip it, and don't put efforts solving this mypy errors.
From my point of view, my opinion is that we can skip and remove mypy. If someone wants to write code with typing it's fine, but change all the code to be mypy compliant is a waste of time in this project, we only have 2 weeks more and I don't know if it's worth it. But up to the backend team.

@francescarpi
Copy link
Author

Have you take a decision about mypy? Do you want to keep it? Because mypy in the pipeline is deactivated because there are 200+ errors related with it. If you want to keep it, fine for me, but you should fix all the errors and then activate the pipeline check.
Or on the other hand, skip it, and don't put efforts solving this mypy errors.
From my point of view, my opinion is that we can skip and remove mypy. If someone wants to write code with typing it's fine, but change all the code to be mypy compliant is a waste of time in this project, we only have 2 weeks more and I don't know if it's worth it. But up to the backend team.

See this issue @jbagot

#83

We know it's disabled at the moment. We are fixin all files in diferents pull request. When all be done, we will enable mypy again.

@XaviTorello
Copy link

I agree with @jbagot that this should not be a core requirement during this Hacktoberfest, but if someone will submit a PR to learn more about type annotations I'm fine with this :)

Copy link

@XaviTorello XaviTorello left a comment

Choose a reason for hiding this comment

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

Great, many thanks @francescarpi 💪

@francescarpi
Copy link
Author

Ok, thanks for your comments!

@francescarpi francescarpi merged commit a34ec28 into master Oct 18, 2020
@francescarpi francescarpi deleted the _mypy_accounts_admin branch October 18, 2020 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Dev team enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants