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

minor ruff and mypy cleanups #527

Merged

Conversation

RonnyPfannschmidt
Copy link
Member

  • switch ruff config to extend-select and enable UP rules
  • make mypy --strict pass for src

* switch ruff config to extend-select and enable UP rules
* make mypy --strict pass for src
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

LGTM

"I", # isort
extend-select = [
"I", # isort
"UP",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"UP",
"UP", # pyupgrade

@RonnyPfannschmidt RonnyPfannschmidt merged commit 145eea8 into pytest-dev:main Sep 3, 2024
14 of 17 checks passed
@RonnyPfannschmidt RonnyPfannschmidt deleted the upgrade-strict branch September 7, 2024 21:13
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.

3 participants