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

(3.8) Minor tweaks #368

Merged
merged 1 commit into from
Mar 16, 2023
Merged

(3.8) Minor tweaks #368

merged 1 commit into from
Mar 16, 2023

Conversation

FozzieHi
Copy link
Contributor

@FozzieHi FozzieHi commented Mar 14, 2023

Tracking issue: #365

Some minor changes:

  • Changes in bugbear.py and test_bugbear.py from running pyupgrade --py38-plus against them (I left the individual test files, not sure if we want to change those)
  • A change to pyproject.toml setting requires-python to >=3.8.1 instead of >=3.8 to match flake8
  • A change I missed in tox.ini on (3.8) Update CI and metadata #367

Should we also change the flake8 dependency requirement from >=3.0.0 to >=6.0.0?

Copy link
Collaborator

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

Nice - Agree with 3.8.1 - I remember this!

Thanks.

@@ -747,8 +747,7 @@ def test_selfclean_bugbear(self):
filename = Path(__file__).absolute().parent.parent / "bugbear.py"
proc = subprocess.run(
["flake8", str(filename)],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
capture_output=True,
Copy link
Collaborator

Choose a reason for hiding this comment

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

O, TIL, have never used ! NIce.

@cooperlees cooperlees merged commit fc4dde8 into PyCQA:main Mar 16, 2023
@FozzieHi FozzieHi deleted the 3-8-minor-tweaks branch March 16, 2023 17:42
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.

None yet

2 participants