As the repository gets larger, we will eventually need to decide on a code convention. Though preferences may vary, it's probably safe to stick to the setup in transformers, which is black + isort.
We could create a simplified Makefile and do something like
.PHONY: style
style:
black .
isort . --profile=black .
As the repository gets larger, we will eventually need to decide on a code convention. Though preferences may vary, it's probably safe to stick to the setup in
transformers
, which isblack
+isort
.We could create a simplified
Makefile
and do something likeAlternatively, create a
.pre-commit-config.yaml
.