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

DX: enforce imports to top by default #270

Merged
merged 6 commits into from
Sep 30, 2024

Conversation

shenvitor
Copy link
Member

@shenvitor shenvitor commented Apr 25, 2024

Temporary fix for ComPWA/report#12

@shenvitor shenvitor self-assigned this Apr 25, 2024
@shenvitor shenvitor requested a review from redeboer April 25, 2024 13:27
@shenvitor shenvitor added the 🖱️ DX Improvements to the Developer Experience label Apr 25, 2024
@shenvitor shenvitor changed the title import to top DX: import to top Apr 25, 2024
@redeboer redeboer changed the title DX: import to top DX: enforce imports to top by default Apr 25, 2024
pyproject.toml Show resolved Hide resolved
@redeboer redeboer changed the title DX: enforce imports to top by default Test Apr 25, 2024
@redeboer redeboer changed the title Test DX: import to top DX: enforce imports to top by default Apr 25, 2024
@redeboer redeboer changed the title DX: import to top DX: enforce imports to top by default DX: enforce imports to top by default Apr 25, 2024
@redeboer
Copy link
Member

See astral-sh/ruff#8669 (comment)

@redeboer
Copy link
Member

Let's make this a draft for now

@redeboer redeboer marked this pull request as draft April 26, 2024 11:25
@shenvitor
Copy link
Member Author

This is done already seems like?

@redeboer
Copy link
Member

See astral-sh/ruff#13025

@redeboer
Copy link
Member

This could be fixed with ComPWA/policy#392, but it's not the most ideal because you have to list all excepted notebooks with excluded.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@redeboer redeboer marked this pull request as ready for review September 26, 2024 14:58
@redeboer redeboer enabled auto-merge (squash) September 26, 2024 14:58
@redeboer
Copy link
Member

CI should be fixed again once #294 is through. @shenvitor could you review that PR?

@redeboer redeboer merged commit df6cc12 into ComPWA:main Sep 30, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖱️ DX Improvements to the Developer Experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants