Toloka / crowd-kit

Control the quality of your labeled data with the Python tools you already know.
https://crowd-kit.readthedocs.io/
Other
213 stars 16 forks source link

Add black, isort and pre-commit #85

Closed pilot7747 closed 1 year ago

pilot7747 commented 1 year ago

Improve development experience with pre-commit, black formatter, and isort.

Checklist

codecov-commenter commented 1 year ago

Codecov Report

Attention: 46 lines in your changes are missing coverage. Please review.

Comparison is base (e9b83b5) 93.01% compared to head (2e36dae) 93.01%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #85 +/- ## ======================================= Coverage 93.01% 93.01% ======================================= Files 47 47 Lines 2019 2019 ======================================= Hits 1878 1878 Misses 141 141 ``` | [Files](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka) | Coverage Δ | | |---|---|---| | [crowdkit/\_\_init\_\_.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [crowdkit/aggregation/\_\_init\_\_.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvYWdncmVnYXRpb24vX19pbml0X18ucHk=) | `66.66% <100.00%> (ø)` | | | [crowdkit/aggregation/base/\_\_init\_\_.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvYWdncmVnYXRpb24vYmFzZS9fX2luaXRfXy5weQ==) | `75.00% <100.00%> (ø)` | | | [crowdkit/aggregation/classification/\_\_init\_\_.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvYWdncmVnYXRpb24vY2xhc3NpZmljYXRpb24vX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [crowdkit/aggregation/classification/dawid\_skene.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvYWdncmVnYXRpb24vY2xhc3NpZmljYXRpb24vZGF3aWRfc2tlbmUucHk=) | `95.62% <100.00%> (ø)` | | | [...t/aggregation/classification/gold\_majority\_vote.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvYWdncmVnYXRpb24vY2xhc3NpZmljYXRpb24vZ29sZF9tYWpvcml0eV92b3RlLnB5) | `100.00% <100.00%> (ø)` | | | [crowdkit/aggregation/classification/kos.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvYWdncmVnYXRpb24vY2xhc3NpZmljYXRpb24va29zLnB5) | `92.50% <100.00%> (ø)` | | | [crowdkit/aggregation/classification/m\_msr.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvYWdncmVnYXRpb24vY2xhc3NpZmljYXRpb24vbV9tc3IucHk=) | `97.97% <100.00%> (ø)` | | | [...owdkit/aggregation/classification/majority\_vote.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvYWdncmVnYXRpb24vY2xhc3NpZmljYXRpb24vbWFqb3JpdHlfdm90ZS5weQ==) | `100.00% <100.00%> (ø)` | | | [crowdkit/aggregation/classification/wawa.py](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka#diff-Y3Jvd2RraXQvYWdncmVnYXRpb24vY2xhc3NpZmljYXRpb24vd2F3YS5weQ==) | `100.00% <100.00%> (ø)` | | | ... and [36 more](https://app.codecov.io/gh/Toloka/crowd-kit/pull/85?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toloka) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.