Merge pull request #1013 from PyThaiNLP/dependabot/pip/fairseq-0.12.2 #1853
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: | |
branches: | |
- dev | |
paths-ignore: | |
- '**.md' | |
- '**.yml' | |
- 'docs/**' | |
pull_request: | |
branches: | |
- dev | |
paths-ignore: | |
- '**.md' | |
- '**.yml' | |
- 'docs/**' | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Ruff | |
uses: astral-sh/ruff-action@v2 | |
with: | |
src: "./pythainlp" | |
args: check --verbose --line-length 79 --select C901 |