Closed jhanley634 closed 2 weeks ago
This PR adds Docker support to the project and includes several code quality improvements. The changes include creating a Dockerfile for containerization, updating variable naming conventions for better readability, and upgrading some dependencies.
classDiagram
class VehicleJourney {
-agency
-stamp
-vehicle_ref
}
class get_recent_vehicle_journeys {
+get_recent_vehicle_journeys(agency, minutes)
}
class prune_ancient_rows {
+prune_ancient_rows(limit)
}
VehicleJourney <.. get_recent_vehicle_journeys : uses
VehicleJourney <.. prune_ancient_rows : uses
Change | Details | Files |
---|---|---|
Added Docker support to containerize the application |
|
Dockerfile Makefile |
Improved code quality through variable naming conventions |
|
src/bboard/transit/vehicles.py src/bboard/util/database.py tests/iss_test.py |
Updated dependencies and linting configuration |
|
requirements.txt pyproject.toml |
WIP. Dockerized it.
Summary by Sourcery
Dockerize the application by adding a Dockerfile and updating the Makefile to support Docker operations. Refactor variable names across the codebase for improved consistency and readability. Update test code for better clarity. Upgrade dependencies in requirements.txt to their latest versions.
New Features:
Enhancements:
Build:
Tests: