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

Fix conflict with number of lines after imports between yapf and ruff #537

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

stefsmeets
Copy link
Contributor

I noticed yapf and ruff have an incompatibility in the number of blank lines after imports. This PR configures yapf to add 2 lines after the imports so that it is compatible with ruff (and our previous isort config).

Copy link
Contributor

@cwmeijer cwmeijer left a comment

Choose a reason for hiding this comment

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

Looks great. All checks pass. That's all you need for this PR I suppose. Sorry to have kept you waiting for this.

@stefsmeets stefsmeets merged commit 86bdd34 into main Apr 4, 2023
@stefsmeets stefsmeets deleted the fix-yapf-ruff-conflict2 branch April 4, 2023 11:29
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