A platform, 'Traffic-Violation-Report-System', enabling users in Taiwan to upload and share responses from law enforcement to traffic violations. This system aims for greater transparency in traffic law enforcement. It utilises Django for backend and Flutter for a separated frontend web development.
[ ] π Sweep Needs Improvement
I created this PR to fix the failing GitHub Actions.## Description
This PR addresses the failing GitHub Actions by fixing errors and warnings in the codebase. The changes include adding missing required arguments in the CustomInfoWindow test, removing duplicate imports, removing unused imports and local variables, fixing code style issues, and replacing print statements with a logging framework.
Summary of Changes
Modified test/components/custom_info_window_test.dart to add missing required arguments in the CustomInfoWindow test.
Modified lib/services/report_service.dart to remove duplicate imports.
Modified lib/utils/date_time_utils.dart to remove unused imports.
Modified lib/services/map_service.dart to remove unused local variables.
Modified lib/components/custom_info_window.dart to fix variable naming conventions.
Modified lib/models/traffic_violation.dart to fix variable naming conventions.
Modified lib/screens/map/home_map.dart to fix a private type issue and variable naming conventions.
Modified lib/services/auth_service.dart to replace print statements with a logging framework.
Please review and merge these changes to fix the failing GitHub Actions.
PR Feedback (click)
CustomInfoWindow
test, removing duplicate imports, removing unused imports and local variables, fixing code style issues, and replacingprint
statements with a logging framework.Summary of Changes
test/components/custom_info_window_test.dart
to add missing required arguments in theCustomInfoWindow
test.lib/services/report_service.dart
to remove duplicate imports.lib/utils/date_time_utils.dart
to remove unused imports.lib/services/map_service.dart
to remove unused local variables.lib/components/custom_info_window.dart
to fix variable naming conventions.lib/models/traffic_violation.dart
to fix variable naming conventions.lib/screens/map/home_map.dart
to fix a private type issue and variable naming conventions.lib/services/auth_service.dart
to replaceprint
statements with a logging framework.Please review and merge these changes to fix the failing GitHub Actions.