Introduce masking class and incorporate in TokenizerMasking #527
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: CI | |
on: | |
push: | |
branches: [ "main", "develop"] | |
pull_request: | |
branches: [ "main", "develop"] | |
paths-ignore: | |
- "CHANGELOG.md" | |
- "README.md" | |
jobs: | |
linting: | |
name: python | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
# Install a specific version of uv. | |
version: "0.7.13" | |
- name: Run ruff (black) | |
# Do not attempt to install the default dependencies, this is much faster. | |
# Run temporarily on a sub directory before the main restyling. | |
run: uv run --no-project --with "ruff==0.9.7" ruff format --target-version py312 --check -n src/ | |
- name: Run ruff (flake8) | |
# Do not attempt to install the default dependencies, this is much faster. | |
run: uv run --no-project --with "ruff==0.9.7" ruff check src/ |