wordnet: refactoring in WordNet class #1911
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: "Ruff" | |
| on: | |
| push: | |
| pull_request: | |
| # The branches below must be a subset of the branches above | |
| schedule: | |
| - cron: "33 1 * * 3" | |
| jobs: | |
| ruff: | |
| name: "See: docs.astral.sh/ruff" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: List files | |
| run: ls -l | |
| - name: Download ruff | |
| run: ./.github/scripts/get-ruff.sh | |
| - name: Format and check code with ruff | |
| run: ./ruff format; ./ruff check --fix --preview | |
| - name: Check for changes | |
| run: bash scripts/ci/no-diff.sh |