mit-dci / opencbdc-tx

A transaction processor for a hypothetical, general-purpose, central bank digital currency
Other
898 stars 198 forks source link

Add linting workflow for python code to keep code quality high #264

Closed rockett-m closed 2 months ago

rockett-m commented 3 months ago

Abstract

This proposal would add automatic python code checking according to pep-8 standards.

Description

This proposal would add automatic python code checking according to pep-8 standards. I would make any syntax/style errors to not cause failure but to be visible in the report. This would be enabled for pull-requests and pushes. The user could also run this check from command line before making a formal commit. This will show all linting violations and rate all the python code out of 10. Later we could enforce a minimum rating out of 10 for new python file uploads or changes.

Code of Conduct