fix(skore-hub-project/login): Ignore token URI when using API key #4872
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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| merge_group: | |
| types: [checks_requested] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| shell: "bash" | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Setup Python | |
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install dependencies | |
| run: python -m pip install --upgrade pip pre-commit | |
| - name: Lint | |
| run: | | |
| pre-commit run --all-files check-yaml | |
| pre-commit run --all-files check-toml | |
| pre-commit run --all-files check-added-large-files | |
| pre-commit run --all-files check-merge-conflict | |
| pre-commit run --all-files detect-private-key | |
| pre-commit run --all-files end-of-file-fixer | |
| pre-commit run --all-files trailing-whitespace | |
| pre-commit run --all-files typos | |
| pre-commit run --all-files nbstripout | |
| pre-commit run --all-files ruff-check | |
| pre-commit run --all-files mypy |