Skip to content

Enable some more mypy lints when checking our own code#9787

Merged
AlexWaygood merged 2 commits intopython:mainfrom
AlexWaygood:mypy-selfcheck
Feb 21, 2023
Merged

Enable some more mypy lints when checking our own code#9787
AlexWaygood merged 2 commits intopython:mainfrom
AlexWaygood:mypy-selfcheck

Conversation

@AlexWaygood
Copy link
Copy Markdown
Member

No description provided.

Comment thread tests/typecheck_typeshed.py Outdated
command.extend(["--exclude", "tests/pytype_test.py"])
result = subprocess.run(command, capture_output=True)
result = subprocess.run(command, capture_output=True, text=True)
stdout, stderr = result.stdout, result.stderr
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nittiest of nits (so feel free to just merge when CI is green) but putting these in separate variables feels unnecessarily complicated.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The nits are out in full force tonight 😄

@AlexWaygood AlexWaygood merged commit 880c0da into python:main Feb 21, 2023
@AlexWaygood AlexWaygood deleted the mypy-selfcheck branch February 21, 2023 00:54
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.

2 participants