Commit 2f6378e067
Verified · cmc
Layout: unified · split
.github/workflows/pylint.yml deleted −37
| @@ -1,37 +0,0 @@ | ||
| 1 | name: Pylint | |
| 2 | ||
| 3 | on: | |
| 4 | push: | |
| 5 | paths: | |
| 6 | - '**.py' | |
| 7 | ||
| 8 | jobs: | |
| 9 | build: | |
| 10 | runs-on: ubuntu-latest | |
| 11 | strategy: | |
| 12 | matrix: | |
| 13 | python-version: ["3.x"] | |
| 14 | steps: | |
| 15 | - uses: actions/checkout@v4 | |
| 16 | - name: Set up Python ${{ matrix.python-version }} | |
| 17 | uses: actions/setup-python@v5 | |
| 18 | with: | |
| 19 | python-version: ${{ matrix.python-version }} | |
| 20 | ref: ${{ github.event.pull_request.head.ref }} | |
| 21 | - name: Install dependencies | |
| 22 | run: | | |
| 23 | python -m pip install --upgrade pip | |
| 24 | pip install cryptography prettytable | |
| 25 | - name: Install Ruff | |
| 26 | uses: astral-sh/ruff-action@v3.2.2 | |
| 27 | - name: Ruff Actions | |
| 28 | run: | | |
| 29 | ruff check --fix | |
| 30 | ruff format | |
| 31 | - name: Add and Commit | |
| 32 | uses: EndBug/add-and-commit@v9 | |
| 33 | env: | |
| 34 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 35 | with: | |
| 36 | default_author: github_actions | |
| 37 | pathspec_error_handling: ignore | |
| \ No newline at end of file | ||
.github/workflows/ruff.yml +2 −2
| @@ -1,4 +1,4 @@ | ||
| 1 | name: Pylint | |
| 1 | name: Ruff | |
| 2 | 2 | |
| 3 | 3 | on: |
| 4 | 4 | push: |
| @@ -34,4 +34,4 @@ jobs: | ||
| 34 | 34 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 35 | 35 | with: |
| 36 | 36 | default_author: github_actions |
| 37 | pathspec_error_handling: ignore | |
| \ No newline at end of file | ||
| 37 | pathspec_error_handling: ignore | |