-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Clippy, apply automated fixes, place endpoints in their own…
… files, and introduce conversion macros (#222) * Create endpoints module and cargo clippy * Add test to confirm endpoint * Do not run E2E tests by default * Create a module for endpoint testing * Use conventional traits instead of implementing the functions directly. Adds two local macros in models.rs: `from_str!` and `try_from_i16!`. This fixes clippy warnings * Clippy * Run clippy by default in the test workflow * Fix tests and remove unused Display implementations * Improve wording * Remove HTTP endpoint "unit" testing * Improve matching * Update README * Cargo fmt * Change the error type in the macros to `AybError` * Fmt
- Loading branch information
Showing
22 changed files
with
429 additions
and
412 deletions.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,9 @@ | |
# Emacs | ||
*~ | ||
|
||
# IntelliJ Idea-based IDEs | ||
.idea/ | ||
|
||
# Ignore ayb-specific files | ||
ayb.toml | ||
e2e.sh | ||
|
This file contains 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 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 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 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
Oops, something went wrong.