Skip to content

Refactor "clear BGP session" logic from #2630 (#2638) #1

Refactor "clear BGP session" logic from #2630 (#2638)

Refactor "clear BGP session" logic from #2630 (#2638) #1

Workflow file for this run

name: Ruff Python Linting and Formatting
on:
push:
branches-ignore: [ devc ]
paths:
- '**.py'
- 'ruff.toml'
- '.github/workflows/ruff.yml'
pull_request:
paths:
- '**.py'
- 'ruff.toml'
- '.github/workflows/ruff.yml'
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install ruff
run: |
python -m pip install --upgrade pip
python -m pip install ruff
- name: Run ruff linter
run: |
ruff check --output-format=github .
#- name: Run ruff formatter (check only)
# run: |
# ruff format --check --diff .