Freshmaker is currently using a black-check step in tox. That means that black will check if it would reformat some file, and exits an error in case it would.
However, it would also be nice to have black actually reformat files during development, using the same parameters as will the check step.
This commit introduces the black-reformat in tox, which can be called manually during development to make the actual reformatting. It also introduces quick instructions on how to call it the readme file.
Freshmaker is currently using a black-check step in tox. That means that black will check if it would reformat some file, and exits an error in case it would.
However, it would also be nice to have black actually reformat files during development, using the same parameters as will the check step.
This commit introduces the
black-reformat
in tox, which can be called manually during development to make the actual reformatting. It also introduces quick instructions on how to call it the readme file.JIRA: CWFHEALTH-2357