-
Notifications
You must be signed in to change notification settings - Fork 1
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
✨(lti) add base Django app service #30
Conversation
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.
Aaaaamaazing 👏
bc70848
to
4f498e3
Compare
Regarding Marsha's Makefile, I've noticed they provide additional features beyond what I've included. If they are relevant, would you like me to include these for improving the developer experience in this PR? |
I have reused ruff configuration from
Do we ignore it? |
Note: The unused imports from empty example files in the
|
During your review, could you please pay special attention to the following:
Currently, the
WDYT? |
4597944
to
8f56054
Compare
I would add a first test. |
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.
Looks great, thanks!
Waiting for a first test to be added for the app
and then we'll be good to go.
Note that we now have a dependency issue for backend tests.
e02d82d
to
c6cbce6
Compare
The missing pylint |
c669f67
to
650d7e1
Compare
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.
Warren core application is a Django project that will serve Dashboards exclusively via LTI in its first release.
Introduce ruff and black to lint Python sources of the app. Ruff's configurations are on pair with the backend. Offer developers make commands that allow them linting the app or the backend either independently or together.
The majority of linter errors were related to missing or incorrectly formatted docstrings in the `src/app`. Ruff `noqa` comments have been added to some `src/app/dashboard` Python sources, yet empty. It's temporary, these sources will be updated in a near future. They serve as examples and should not be removed.
Offer developers make commands that allow them running any test on the `src/app` or the `src/backend` Python sources, either independently or together.
Automate checks on building, linting and testing production and development `src/app` Docker image.
Make core and plugin pyproject files consistent with python images being built by the circle ci jobs (3.8, 3.9, 3.10).
Add a simple test on the development view to make the CI passes. Without any test added, test-app job was resulting in failure.
Inspired by marsha project, this update introduces new commands that assist developers in generating migrations and verifying Django sources.
650d7e1
to
93ef848
Compare
Purpose
We need to serve the frontend application via LTI.
Proposal