OpenMined / sycret

Function Secret Sharing library for Python and Rust with hardware acceleration
https://openmined.github.io/sycret/
Apache License 2.0
54 stars 9 forks source link

Add CI workflows for Python and Rust #13

Closed nph4rd closed 3 years ago

nph4rd commented 3 years ago

Description

In an effort to have a consistent check for tests, format and documentation, this PR adds a workflow for both Python and Rust.

I also added a few flake8 and pre-commit configuration files, like the ones we have in SyMPC.

Affected Dependencies

Added:

isort==5.6.4
flake8==3.8.4
flake8-comprehensions==3.3.1
interrogate==1.3.2

And loosened the restrictions for tornado to tornado>=4.5.3

How has this been tested?

Locally and on the WIP PR.

Checklist

nph4rd commented 3 years ago

Currently fixing some Clippy warnings...

nph4rd commented 3 years ago

Currently fixing some Clippy warnings...

There are sooo many of them. It might be better to fix them in a different PR 😅

tholop commented 3 years ago

That's excellent, thank you :clap: And I didn't know Tarpaulin! I'll try to improve the coverage and deal with some Clippy warnings -- see this issue: https://github.com/OpenMined/sycret/issues/14