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

Feature/lint python redo #603

Merged
merged 7 commits into from
Oct 25, 2024
Merged

Feature/lint python redo #603

merged 7 commits into from
Oct 25, 2024

Conversation

LoTerence
Copy link
Member

@LoTerence LoTerence commented Oct 25, 2024

Fixes #407

Changes

  • installed black
  • installed isort
  • installed flake8
  • ran black
  • ran isort
  • ran flake8
  • fixed flake8 issues

How to run

  1. first cd into the backend folder
cd backend
  1. Install the new packages:
poetry install
  1. You can run the formatter and linter with the following commands, in order:
poetry run isort .
poetry run black .
poetry run flake8

next step:
Maybe set up a pre-commit hook

@LoTerence LoTerence merged commit 0b2399b into develop Oct 25, 2024
@LoTerence LoTerence deleted the feature/lint-python-redo branch October 25, 2024 04:34
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.

1 participant