-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
bug: mypy from pre-commit hook found multiple type-related errors #294
Comments
Hey @TreyWW Will you want to implement mypy or no ? If you do then I can take care of this. |
Hey @Domejko, Yeah I definitely do want to go down the route of adding MyPy, I think in general it would make the project a lot cleaner and easier to understand. I don't plan on adding MyPy to pre-commit hooks back though, since using PreCommit hooks in general my productivity has gone downhill so bad, I've literally gave up committing some features just because of the pain it's causing. But getting them MyPy errors down to 0 should definitely be a goal either way. If you wish, you could just make a PR for the changes you've made to get that number down, and instead of trying to do all errors in one go, we can slowly get them down each time and just do them day by day until we reach 0. Does that sound like a good plan? Let me know if you've got any other ideas, thanks for your contribution :) |
Yes I agree hook didn't even cover all the files correctly apparently so I guess it's no use. I will add then necessary packages and soon will send a PR with a fixes that I have made today and will start working on the rest of errors step by step daily. When it all will be fixed I think then we can add One more thing, should I pass this topic in the PRs or we close it and I'll send them as non-related to any issue ? |
Amazing, that's a great idea!
Yeah you can include this as Thanks! |
@TreyWW when I try to run tests I'm getting this error:
Do you know maybe some quick solution for that ? |
You'll want to disable schedules. Set both |
isInvoiceSchedulingEnabled is off in the database and I have same issue @TreyWW :
|
What version of MyFinances are you currently using?
v0.3.0
What device type are you currently facing the issue on?
Desktop
Describe the bug
The text was updated successfully, but these errors were encountered: