-
Notifications
You must be signed in to change notification settings - Fork 29
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
Create .pre-commit-config.yaml #241
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…into poa_fix_precommit
for more information, see https://pre-commit.ci
…into poa_fix_precommit
for more information, see https://pre-commit.ci
…into poa_fix_precommit
for more information, see https://pre-commit.ci
…into poa_fix_precommit
@domi4484 any idea how to make the CI happy about this import? : in They are launched by pum in the CI so I don't get how to reach the view classes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess the only way is to make flake8 ignore the rule in this case.
Not sure what you mean about "launched by PUM", are those file generated automatically?
Theses files are provided with a specific syntax so PUM applies these before and after the deltas when upgrading : https://github.com/opengisch/pum?tab=readme-ov-file#delta-files |
Co-authored-by: Damiano Lombardi <[email protected]>
Co-authored-by: Damiano Lombardi <[email protected]>
Co-authored-by: Damiano Lombardi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok thanks for the insight.
I guess the noqa in fact must be on the import lines
Thank you for the review and the CI fix! |
Create configuration for pre-commit and apply formatting.