aboutcode-org / purldb

Tools to create and expose a database of purls (Package URLs). This project is sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase/ and nexB for https://www.aboutcode.org/ Chat is at https://gitter.im/aboutcode-org/discuss
https://purldb.readthedocs.io/
35 stars 23 forks source link

Reformat code using black/isort and enforce usage of it #512

Closed JonoYang closed 3 months ago

JonoYang commented 3 months ago

It would be good for consistency and readability to enforce style via the CI. Consider starting from the setup used on scancode.io: https://github.com/nexB/scancode.io/blob/main/Makefile#L70

JonoYang commented 3 months ago

We now check for style and formatting using ruff on Azure CI.