Repository navigation
configure ci checks - #4
Merged
Merged
Conversation
- Added `ruff` for linting with specified configurations in `pyproject.toml`. - Updated `uvicorn` dependency version. - Refactored imports and code formatting across multiple files for consistency. - Changed timezone handling to use `UTC` instead of `timezone.utc` for better clarity. - Cleaned up unnecessary line breaks and improved readability in various modules.
- Introduced a new CI workflow for the backend using Ruff for linting and formatting. - Consolidated testing steps into a single workflow, removing the previous tests.yml file. - Ensured Python 3.12 is used and dependencies are installed correctly for linting, formatting, and testing jobs.
- Created a new test file `test_ruff.py` to facilitate testing with Ruff. - Included a placeholder function to establish the test structure.
- Cleaned up the `test_ruff.py` file by removing unnecessary imports to enhance readability and maintainability.
- Cleaned up the `test_ruff.py` file by removing extra blank lines to improve code readability.
- Deleted the `test_ruff.py` file as it contained no relevant tests or functionality, streamlining the test suite.
- Refactored the CI workflow to include a dedicated quality job for linting and static type checking. - Renamed linting and formatting steps for clarity. - Added `mypy` as a development dependency in `pyproject.toml` for type checking. - Consolidated and streamlined the CI configuration for better maintainability.
…sting jobs - Introduced separate jobs for linting with Ruff, formatting checks, and running tests using Pytest. - Updated Python version to 3.12 and added caching for dependencies to improve build efficiency. - Streamlined the workflow configuration for better clarity and maintainability.
- Included `pytest-cov` in `pyproject.toml` to enable coverage reporting for tests. - Updated the development dependencies list for improved testing capabilities.
- Modified the test step in the CI workflow to run tests with coverage using `pytest-cov`. - Configured coverage reporting to include detailed output and enforce a minimum coverage threshold of 90%.
- Removed unnecessary line from the CI workflow that previously contained a blank run command for testing. - Streamlined the configuration for improved clarity and maintainability.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.