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

Add pre-commit step for for code formatting #10

Open
atteggiani opened this issue Apr 16, 2024 · 1 comment
Open

Add pre-commit step for for code formatting #10

atteggiani opened this issue Apr 16, 2024 · 1 comment
Labels
priority: med Medium priority issue that will be addressed after the higher priority issues have been solved.

Comments

@atteggiani
Copy link
Collaborator

Add a pre-commit step to re-format code.
A tool to reformat could be black

@atteggiani atteggiani changed the title Add pre-commit step to reformat code Add auto-formatting of code May 20, 2024
@atteggiani atteggiani changed the title Add auto-formatting of code Add pre-commit step for for code formatting May 20, 2024
@atteggiani atteggiani added the priority: med Medium priority issue that will be addressed after the higher priority issues have been solved. label May 20, 2024
@atteggiani
Copy link
Collaborator Author

From review:

  • black provides odd results in some cases (ATM_STASHLIST)
  • We might want to use a configurable linter as some longer lines can't really be avoided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: med Medium priority issue that will be addressed after the higher priority issues have been solved.
Projects
None yet
Development

No branches or pull requests

1 participant