Closed natct10 closed 3 years ago
Cool thing in principle. But I would have a couple remarks:
1. Could we remove the black formatter? I really don't like the syntax it gives, it makes code files difficult to read
Black is a great tool. And you don't have to accept all, git add -p
is useful in this regard.
2. As discussed this morning, I am not too sure about end-to-end tests on this one, it might take a while, and become useless because of that. I think flake + unit tests would be a good combo, both handy and useful
This part is refined in this PR: https://github.com/SubstraFoundation/distributed-learning-contributivity/pull/336/files. The idea was -even if the command takes a long time to be executed- to have an alias to run it.
Let me know
You can use
make black
,make flake
,make tests
,make tests-ml-perf
andmake test-contrib
. Please installmake
to test. Windows users might use chocolatey package manager: https://chocolatey.org/packages/make.Started here: https://github.com/SubstraFoundation/distributed-learning-contributivity/pull/319 Fix #312