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

Set Ruff E402 as default for notebooks #12

Open
redeboer opened this issue Apr 25, 2024 · 0 comments
Open

Set Ruff E402 as default for notebooks #12

redeboer opened this issue Apr 25, 2024 · 0 comments
Assignees
Labels
🖱️ DX Improvements to the Developer Experience

Comments

@redeboer
Copy link
Member

Currently, the rule E402 (module-import-not-at-top-of-file) is deactivated for notebooks.

https://github.com/ComPWA/compwa.github.io/blob/bde4df9bf47c8e3165f4e3da62f7455913566d54/pyproject.toml#L256

We should activate this for notebooks and switch off that rule for the relevant notebooks through per-file-ignores.

@redeboer redeboer added the 🖱️ DX Improvements to the Developer Experience label Apr 25, 2024
@redeboer redeboer transferred this issue from ComPWA/compwa.github.io Oct 1, 2024
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

No branches or pull requests

2 participants