Skip to content

Enabled ERA (eradicate) and PLR (pylint refactor) rulesets and fixed violations #321

Enabled ERA (eradicate) and PLR (pylint refactor) rulesets and fixed violations

Enabled ERA (eradicate) and PLR (pylint refactor) rulesets and fixed violations #321

Workflow file for this run

name: Check links
on:
push:
branches: main
pull_request:
branches: '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check_links:
name: Check Links
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@f5d710df1483f19b666dd96aeabbe949a53642c2 # v1
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@f5d710df1483f19b666dd96aeabbe949a53642c2 # v1
with:
# Allow absolute links; any broken internal links will get caught in the docs build
# Ignore failed checks on earthdata.nasa.gov: They 403 on requests based on user agent. Nothing we can do short of spoofing.
# Ignore failed links on areas of GitHub that forbid logged-out users
ignore_links: >-
^/.*
^https://www\.earthdata\.nasa\.gov/.*
^https://github\.com/.*