Skip to content

Merge pull request #44 from ONSdigital/bundle_release_utilities_and_l… #45

Merge pull request #44 from ONSdigital/bundle_release_utilities_and_l…

Merge pull request #44 from ONSdigital/bundle_release_utilities_and_l… #45

Workflow file for this run

name: Checking Code Quality
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install poetry
run: pip install poetry
- name: Install test dependencies
run: poetry install
- name: Check black has been ran (make fmt)
run: poetry run black dpytools tests --diff
- name: Check isort has been ran (make fmt)
run: poetry run isort dpytools tests --diff --check-only
- name: Check ruff has been ran (make lint)
run: poetry run ruff check ./dpytools/* ./tests/&