Clinical-Genomics / microSALT

Microbial Sequence Analysis and Loci-based Typing pipeline for use on NGS WGS data.
GNU General Public License v3.0
2 stars 3 forks source link

Add automatic blacking #148

Closed talnor closed 1 year ago

talnor commented 2 years ago

Is your feature request related to a problem? Please describe. Automatically run black to reformat the structure of the code in new PRs.

Describe the solution you'd like

Describe alternatives you've considered None

Additional context None

talnor commented 2 years ago

Also see similar issue in mutant: https://github.com/Clinical-Genomics/MUTANT/issues/105

henrikstranneheim commented 2 years ago

You can add it to a github workflow - like this: https://github.com/Clinical-Genomics/atlas/blob/master/.github/workflows/black.yml

or install it in your editor: https://black.readthedocs.io/en/stable/integrations/editors.html

or install it via pre-commit: https://pre-commit.com/, see for instance: https://github.com/Clinical-Genomics/atlas/blob/master/.pre-commit-config.yaml

pbiology commented 1 year ago

Not for microSALT