NREL / mappymatch

Pure-python package for map matching
http://mappymatch.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
58 stars 19 forks source link

Add workflow for formatting and linting checks #77

Closed Thomas-McKanna closed 2 years ago

Thomas-McKanna commented 2 years ago

This PR contains one new file: .github/workflows/lint_and_test.yml. This file will run checks for black, flake8, mypy, and usort.

These checks will run any time code is pushed to any branch in the repository.

It also has a placeholder for running tests, but this placehold simply prints "Not Implemented".

Each check is configured such that even if it fails, the other checks will still be run. This is achieved with if: always() being configured for each job (a workflow in GitHub is comprised on jobs that run in sequence).

Note: the checks introduced in this PR currently fail, but that is expected.

Rowlando13 commented 2 years ago

Looks good for now. Does not block build.