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

switch linting to ruff #1241

Merged
merged 1 commit into from
Aug 30, 2023
Merged

switch linting to ruff #1241

merged 1 commit into from
Aug 30, 2023

Conversation

reaperhulk
Copy link
Member

No description provided.

basepython = python3
deps =
black
flake8
flake8-import-order
ruff==0.0.284
Copy link
Member

Choose a reason for hiding this comment

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

This is literally our only pin, and we have no mechanism for bumping. We need to either unpin or do this in a dependabot friendly way IMO.

Copy link
Member Author

Choose a reason for hiding this comment

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

We have a pin for mypy in the exact same way here. It definitely isn't dependabot friendly though, I agree 😄

Copy link
Member

Choose a reason for hiding this comment

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

Its also not local dev friendly (since I know neither of us tox)


[flake8]
application-import-names = OpenSSL
ignore = E203,W503,W504
Copy link
Member

Choose a reason for hiding this comment

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

Probably want to borrow our config from cryptography?

Copy link
Member

@alex alex left a comment

Choose a reason for hiding this comment

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

Going to merge this to get us back to green

@alex alex merged commit 1605a74 into pyca:main Aug 30, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants