fhir-data-pipes icon indicating copy to clipboard operation
fhir-data-pipes copied to clipboard

Add automatic python style checks

Open bashir2 opened this issue 4 years ago • 2 comments
trafficstars

As our Python code base is getting larger, we need an automatic way of checking style issues in our continuous build to avoid "style nit" comments in reviews. We should be able to set up and use pylint for this. As part of this, it is probably useful to enable some other static analysis that pylint offers.

bashir2 avatar Jul 12 '21 20:07 bashir2

One option for code formatting is yapf.

bashir2 avatar Sep 22 '21 19:09 bashir2

We can use black instead. It gives consistent formatting given that it is opinionated.

gdevanla avatar May 26 '22 16:05 gdevanla