Skip to content

QCD Application 1 Notebook #84

QCD Application 1 Notebook

QCD Application 1 Notebook #84

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
pylint:
name: Static Analysis with Pylint
runs-on: ubuntu-latest
steps:
- name: Checkout
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
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
mypy:
name: Type Checking with Mypy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Dependencies
run: |
pip install mypy
- name: Lint using mypy
run: |
mypy .