Borda / pyGCO

A python wrapper for gco-v3.0 package, used for graph cuts based MRF optimization.
http://vision.csd.uwo.ca/code
61 stars 18 forks source link

set Black formatting #29

Closed Borda closed 1 year ago

Borda commented 1 year ago

Before submitting

What does this PR do?

Switch from YAPF to black formating

PR review

Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

codecov[bot] commented 1 year ago

Codecov Report

Merging #29 (c211628) into master (af83b98) will not change coverage. The diff coverage is n/a.

:exclamation: Current head c211628 differs from pull request most recent head 8db4acf. Consider uploading reports for the commit 8db4acf to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Borda/pyGCO/pull/29/graphs/tree.svg?width=650&height=150&src=pr&token=M0sYKXuzYt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec)](https://app.codecov.io/gh/Borda/pyGCO/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec) ```diff @@ Coverage Diff @@ ## master #29 +/- ## ======================================= Coverage 82.88% 82.88% ======================================= Files 3 3 Lines 298 298 ======================================= Hits 247 247 Misses 51 51 ``` | Flag | Coverage Δ | | |---|---|---| | pytest | `82.88% <ø> (ø)` | | | python3.6 | `82.88% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec#carryforward-flags-in-the-pull-request-comment) to find out more. ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/Borda/pyGCO/pull/29?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/Borda/pyGCO/pull/29?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec). Last update [11272be...8db4acf](https://app.codecov.io/gh/Borda/pyGCO/pull/29?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec).