Skip to content

doc(fctl_child_cid_info): correct group to global (#554) #272

doc(fctl_child_cid_info): correct group to global (#554)

doc(fctl_child_cid_info): correct group to global (#554) #272

Workflow file for this run

name: Python Lint
on:
push:
paths:
- 'plugins/**'
- '.github/workflows/linting.yml'
pull_request:
paths:
- 'plugins/**'
- '.github/workflows/linting.yml'
jobs:
flake8:
runs-on: ubuntu-latest
env:
PY_COLORS: 1
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8
- name: Lint with flake8
run:
flake8 ./plugins/
pylint:
runs-on: ubuntu-latest
env:
PY_COLORS: 1
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pylint
- name: Lint with pylint
run: |
find plugins/ -name "*.py" | xargs pylint
bandit:
runs-on: ubuntu-latest
env:
PY_COLORS: 1
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install bandit
- name: Lint with bandit
run: |
bandit -l -i -r ./plugins/