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

test: Do not swallow flake8 exit code #19172

Merged
merged 2 commits into from Jun 6, 2020
Merged

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Jun 5, 2020

After #18210 the flake8 exit code in test/lint/lint-python.sh just not used that makes the linter broken.

This PR:

  • combines exit codes of flake8 and mypy into the test/lint/lint-python.sh exit code
  • documents mypy as the test dependency

@practicalswift
Copy link
Contributor

Oh, very nice catch! Thanks for fixing.

ACK eff770f -- patch looks correct

test/lint/lint-python.sh Outdated Show resolved Hide resolved
@hebasto
Copy link
Member Author

hebasto commented Jun 5, 2020

Updated eff770f -> 5d77549 (pr19172.01 -> pr19172.02, diff):

why remove this check?

@maflcko
Copy link
Member

maflcko commented Jun 5, 2020

Approach ACK 5d77549, fine with me

@practicalswift
Copy link
Contributor

ACK 5d77549

@fanquake fanquake merged commit 17cfa52 into bitcoin:master Jun 6, 2020
@hebasto hebasto deleted the 200605-mypy branch June 6, 2020 06:31
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants