Closed nathan-weinberg closed 12 months ago
Added a linter similar to what we use for other Python-based projects such as https://github.com/transitmatters/data-ingestion and https://github.com/transitmatters/mbta-slow-zone-bot
This did involve a bit of a code refactor - if we want to tweak the flake8/black rules we definitely can, I just lifted the ones used in those other projects. Also happy to test this out to ensure I didn't break any functionality!
flake8
black
Added a linter similar to what we use for other Python-based projects such as https://github.com/transitmatters/data-ingestion and https://github.com/transitmatters/mbta-slow-zone-bot
This did involve a bit of a code refactor - if we want to tweak the
flake8
/black
rules we definitely can, I just lifted the ones used in those other projects. Also happy to test this out to ensure I didn't break any functionality!