Closed aviraljain99 closed 2 years ago
I was also wondering if any of you had any thoughts on the maximum line length that is enforced by black? The black default is 88 characters.
I'm in favour of 100 char line lengths, 120 at most.
@nicklambourne I don't think the black formatter is setup within this repo - neither is it in the pyproject.toml dependency section (is it referred to as a closure?). I will look into it - also sorry for the late response.
@nicklambourne I have copied over the workflow from elpiscloud that runs the black formatter on the Python files so it should now run that workflow on pushes to master or when there is a PR into master.
I also added some black configuration info to the pyproject.toml file and set the line length to a 100 characters. Also black is now a dev dependency. Is this PR good to merge into master now?
Please ignore the change in the dockerfile. I will remove it in the next commit to this PR - it was just for testing. But I have formatted the endpoints directory using black and that is the subject of this PR.