Closed bluegenes closed 4 years ago
I don't think it needs to be added as a requirement. if it is being added, we can add it to the requirements.txt. I don't see the usefulness of having black as one and the only requirement is a file called dev.txt.
although if we have a PR template like nf-core we could have a line where we say format with black and give the command as nf-core linting does. that might help people lint their own code.
@bluegenes what is the advantage of black over flake8 in one line please?
@pranathivemuri black
reformats code for you, flake does not (afaik).
@olgabot could we merge this?
@olgabot could we merge this?
Yep! Just wanted your eyes on it :)
.py
files with blackCONTRIBUTING.md
with black formatting instructionslinting.yml
github action to use blackAnything else that needs to go into this PR @olgabot?