Add get_hf_hub and make_safe_directory_name #2129
Workflow file for this run
This file contains hidden or 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@v5 | |
| - name: Ruff | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| src: "./pythainlp" | |
| args: check --verbose --line-length 79 --select C901 |