Replies: 2 comments 4 replies
-
@yamawe When |
Beta Was this translation helpful? Give feedback.
3 replies
-
@yamawe Do you have any more questions? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I created this discussion because I don't really understand how automatic tests work. I cloned the directory, launched a virtual machine with python3.11.4, downloaded requirements.txt, pre-commit, black, ruff and mypy.
After that, I ran "ruff ." which didn't report any errors, when I ran "pre-commit run --all-files --show-diff-on-failure" all the tests passed, but when I ran "mypy .", I got hundreds of errors even though I didn't change anything in the programs. I don't understand how this is possible, since before each merge the pull request should have passed the tests. What's more, when I look at the pull requests, I see that they have passed the tests, whereas the hundreds of programs on which I see mypy errors have not been modified.
I guess the errors you get when you do 'mypy ...', just ignore them. So can you tell me what tests I need to run on my PC before making a pull request so that I don't get any failed tests?
thank you for your attention
Beta Was this translation helpful? Give feedback.
All reactions