Skip to content

fix: fix a fix of a fix of a fix #7

fix: fix a fix of a fix of a fix

fix: fix a fix of a fix of a fix #7

Workflow file for this run

# This workflow will install Python dependencies and run tests for computing code coverage
# The results will be uploaded to codecov
# The workflow further executes commitlint, isort, and flake8 linters to ensure a common code style
name: Code Quality
on:
push:
branches: [ chore.add_linter ]
pull_request:
branches: [ chore.add_linter ]
jobs:
isort-lint:
runs-on: ubuntu-latest
name: Import Order
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install isort
- name: isort Lint
run: |
python -m isort --settings-path .github --check-only aucmedi
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8
- name: Install package
run: |
python -m pip install .
- name: Run flake8 linter
run: |
python -m flake8 --config .github/flake8.cfg aucmedi