Skip to content

Add warnings to image folder selection #47

Add warnings to image folder selection

Add warnings to image folder selection #47

Workflow file for this run

name: Code Style
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
workflow_dispatch:
jobs:
Code_Style_Adherence:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
python_version: ['3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install isort
pip install black
- name: Lint
run: |
flake8 --append-config ./RodTracker/setup.cfg ./RodTracker
flake8 --append-config ./ParticleDetection/setup.cfg ./ParticleDetection
- name: Import Sorting
run: |
isort --settings-file ./RodTracker/pyproject.toml --check ./RodTracker
isort --settings-file ./ParticleDetection/pyproject.toml --check ./ParticleDetection
- name: Style Adherence
run: |
black --config ./RodTracker/pyproject.toml --check ./RodTracker
black --config ./ParticleDetection/pyproject.toml --check ./ParticleDetection