commercetest / nlnet

Analysis of the opensource codebases of NLnet sponsored projects.
MIT License
0 stars 0 forks source link

Adding pytest runner and a tests badge to this repo. #35

Closed julianharty closed 3 months ago

julianharty commented 3 months ago

This is both an experiment - to try out genbadges for example and improvements as we'd like to use code quality tools, automated tests, and visible reporting.

Fixes #34.

Notes:

julianharty commented 3 months ago

@tnzmnjm This has ended up as a much larger PR than expected after I added another commit that incorporated ruff into the pre-commit hooks together with the changes that it then made to reformat the code in the repo. Thankfully, the changes it made seem very clear and easy to follow (let me know if there's anything that looks wrong or doesn't make sense). See #36 for a summary of the ruff integration and how to run the pre-commit checks interactively.

FYI I'd intended to create a separate PR for the ruff integration but github decided to add the commit to this PR instead.