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

introduce ruff as a linter #936

Merged
merged 7 commits into from
Sep 30, 2023
Merged

Conversation

RonnyPfannschmidt
Copy link
Contributor

No description provided.

@RonnyPfannschmidt RonnyPfannschmidt merged commit 6a7ad1c into pypa:main Sep 30, 2023
18 checks passed
@RonnyPfannschmidt RonnyPfannschmidt deleted the try-ruff branch September 30, 2023 09:25
@@ -43,7 +43,7 @@ dependencies = [
"packaging>=20",
"setuptools",
'tomli>=1; python_version < "3.11"',
'typing-extensions; python_version < "3.11"',
"typing-extensions",

Choose a reason for hiding this comment

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

"typing extensions always needed"

Can you clarify what this means? I still do not see anywhere that it is needed at runtime, and you appear to have reverted the work from #850 as this is now once again needed at runtime

Choose a reason for hiding this comment

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

I do agree, by the way, that it's not clear the dependencies were correct -- it seems to be unconditionally used, but only at mypy/lint time rather than at runtime. So instead of a versioned dependency, it should have been a test extra.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

im happy to make it optional again once i have the time to make sure it works as intended

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