Add segment support for inference (#52) #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: psf/black@stable | |
with: | |
options: "--check --verbose --line-length 80" | |
src: "./amt" | |
- name: Check formatting result | |
run: | | |
if [ $? -ne 0 ]; then | |
echo "Formatting check failed. Please run 'make format' to fix formatting issues." | |
exit 1 | |
fi |