You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update pre-commit configuration and clean up Dockerfiles and workflows
- Added new hooks to the pre-commit configuration for better code quality checks.
- Cleaned up whitespace in Dockerfiles and docker-compose.yml for consistency.
- Removed unnecessary blank lines in GitHub Actions workflows to enhance readability.
* Update caniuse-lite dependency in package-lock.json to version 1.0.30001720, ensuring compatibility with the latest features and improvements.
* Refactor upload validation tests to use mocker for improved readability and consistency. Updated test functions to replace monkeypatching with mocker.patch, enhancing the clarity of mock setups and ensuring better integration with pytest's mocking capabilities.
* Refactor SCSS files to use `@use` instead of `@import` for improved modularity and maintainability. Updated color adjustments to utilize `color.adjust` for better control over color lightness in hover states.
* Add bulk release functionality for uploads
- Introduced BulkReleaseForm to handle bulk release submissions.
- Implemented BulkReleaseView to manage the release of multiple uploads at once, including validation and error handling.
- Added a new bulk release template for user interaction.
- Updated project detail view to link to the bulk release feature when multiple uploads are present.
- Created comprehensive tests for bulk release functionality, ensuring robust validation and release processes.
* Refactor mock_user fixture to utilize mocker for improved testing consistency. This change enhances the clarity of mock setups in the test suite.
* Refactor BulkReleaseView to inherit from ProjectMixin and MethodView
- Updated the inheritance structure of BulkReleaseView to improve functionality and maintainability.
- Adjusted tests to verify the new inheritance and decorators, ensuring proper permission checks and method availability.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Enhance bulk release tests for improved clarity and coverage
- Refactored test functions in test_bulk_release.py to utilize consistent mocking practices, improving readability and maintainability.
- Added comprehensive tests for various scenarios in the bulk release process, including form validation, release success, and error handling.
- Updated test_upload_validation.py to streamline HTTP error handling and ensure proper warning treatment for 404 errors.
- Ensured all tests are integrated with Flask context for better coverage and reliability.
* Formatting.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0 commit comments