-
-
Notifications
You must be signed in to change notification settings - Fork 0
API V3 Refactoring #44
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
Merged
Merged
Changes from 32 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
86dd9fd
Introduce interfaces
GabrielBarberini da1e16d
Fixes runtime errors
GabrielBarberini b51ecaf
format and lint
GabrielBarberini 55d884d
fixes imports
GabrielBarberini e8e2d50
migrate Enum to Literal when possible
GabrielBarberini 0eb8d8a
refactor test rockets route
GabrielBarberini 2083d36
adapts selected motor kind to new API interface
GabrielBarberini 4a8c79c
allows extra fields on model instantiation to bridge for views
GabrielBarberini 2a1635d
adapts flight route tests
GabrielBarberini 6a9ff31
fixes tests and runs formatting
GabrielBarberini 8ff0c8d
improves conditional reading
GabrielBarberini 44581ad
moves unit tests to unit dir
GabrielBarberini 57f3142
removes unnecessary validator
GabrielBarberini 4417bee
fixes runtime issues
GabrielBarberini a595acc
removes unnecessary response data from PUT/DELETE
GabrielBarberini df6c4c2
change lib to src
GabrielBarberini e68f748
adapts motor model
GabrielBarberini a46116a
typo fix
GabrielBarberini 469a13e
fixes pylint issues
GabrielBarberini f3074b7
Fixes enum value inconsistency
GabrielBarberini 4a0408b
Replaces assert with explicit validation
GabrielBarberini e0acdc9
Fixes typo in method name
GabrielBarberini ae84bbc
adds await keyword for async method call
GabrielBarberini d7877fd
Adds await keyword for async method calls
GabrielBarberini 3f028cf
removes snippet garbage
GabrielBarberini aaab1a5
solves nitpick comments
GabrielBarberini 40c7a91
improves HTTP code semantics
GabrielBarberini 7f539ee
Update src/models/flight.py
GabrielBarberini 871921d
Update src/models/flight.py
GabrielBarberini 54c8ce8
Update src/models/environment.py
GabrielBarberini 9ba7aa2
changes ControllerInterface to ControllerBase
GabrielBarberini 499f505
adds docstring to interfaces
GabrielBarberini 5bcd592
adds uvloop
GabrielBarberini b29ae1c
adds uvloop to make dev
GabrielBarberini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Can we create a job on GitHub Actions to automatically run all these tests every Pull Request?
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.
@coderabbitai please create a gh issue with that specification so we can address it later
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.
🧩 Analysis chain
🏁 Script executed:
Length of output: 1076
@GabrielBarberini I've created a GitHub issue as requested for setting up GitHub Actions to run automated tests on each PR. The issue has been assigned to you and can be found here: #45
The issue includes specifications for running all the tests from the Makefile (black, flake8, pylint, ruff, and pytest) when PRs are created or updated. I've also included some additional considerations about caching dependencies and ensuring compatibility with the new
src
directory structure.(_/)
(•ᴥ•)
/ >📝