ONSdigital / dp-data-pipelines

Pipeline specific python scripts and tooling for automated website data ingress.
MIT License
1 stars 0 forks source link

code quality tools to cover test code #112

Open mikeAdamss opened 5 months ago

mikeAdamss commented 5 months ago

What is this

We're currently running black, isort and ruff on the application code not on the test code.

This is resulting in a noticable difference in quality.

We need to adapt the github actions to run against the ./tests/ directory as well as the application code. Where we have a featurees directory as well please run the tools against those too.

What do do

Update makefile to run against additional locations. Update github actions with damr logic. Run make fmt against new locations and fix any issues flagged by make lint

Acceptance Criteria