Commit graph

10 commits

Author SHA1 Message Date
Alexey Zakharenkov
fa5e036053 Clean requirements 2023-03-14 19:15:44 +01:00
Alexey Zakharenkov
ec2f57b266 Improve relation center calculation 2023-03-14 19:15:44 +01:00
Alexey Zakharenkov
d5f2026301 Run the code through flake8 and black 2023-03-14 19:15:44 +01:00
Alexey Zakharenkov
2c71990f0e Fix calculating stop positions for route with rails reversed relative to stops order 2023-03-14 19:15:44 +01:00
Alexey Zakharenkov
36d947047e Defer CSV-complying data transformation to write-to-CSV phase 2023-03-14 19:15:44 +01:00
Alexey Zakharenkov
e27fdd8c2d Add to GTFS only transfers in which both stops are part of routes 2023-03-14 19:15:44 +01:00
Alexey Zakharenkov
4bb99a37ea Refactoring: move a nested function to the module level; add tests for it 2023-03-14 19:15:44 +01:00
Alexey Zakharenkov
82707f8528 Make City.is_good a property 2023-03-14 19:15:43 +01:00
Alexey Zakharenkov
d88755de99 Use csv.DictReader instead of csv.reader to load city data 2023-03-14 19:15:43 +01:00
Alexey Zakharenkov
123d0f96d3 Add tests on adjusting rails geometry; configure GitHub Actions for the tests 2023-03-14 19:15:43 +01:00