question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I propose the introduction of black code formatter in order to create an environment that is easy to deal with other problems.

https://github.com/psf/black

For example, in the following, and of (A) will be unified.

(A)

if y_type not in ["binary", "multiclass", 'multilabel-indicator']:

https://github.com/awslabs/autogluon/blob/master/core/src/autogluon/core/metrics/classification_metrics.py#L19

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
sxjsciencecommented, Jan 22, 2021

Since Black won’t change the API and just enhances the coding format, I will prefer adopting it after v0.1.

1reaction
Innixmacommented, Apr 11, 2021

Hi @daikikatsuragawa,

Thanks for the follow-up! I think in ~2 weeks we should be in a good spot for the PR. v0.2 release is planned in ~1-2 weeks, so we will try to get that released and then directly follow-up with the apply black PR. I might also try to apply black to a few of the submodules individually before then to minimize the blast radius. The tricky part is we have collaborators / devs working on each of the submodules at the same time, so per-module refactors will likely be less disruptive.

Read more comments on GitHub >

github_iconTop Results From Across the Web

black · PyPI
Black is the uncompromising Python code formatter. ... Applying those defaults will have your code in compliance with many other Black formatted projects....
Read more >
commonblackcollegeapp: HOME
APPLY TO ANY NUMBER OF THE 67 HBCUs BELOW FOR ONLY $20. ... Race on Campus: How the Common Black College Application Helped...
Read more >
What to Know About The Common Black College Application
Want to apply to Historically Black Universities (HBCUs) while cutting down on application costs? Use the Common Black College Application!
Read more >
Apply - Black Hawk College - Quad Cities and East Campus
Free Application Week! April 24 - May 1. Use Code: FREEAPP23. New students applying to Black Hawk College should select the AAS/General Occupational...
Read more >
What Is the Common Black College Application? - BestColleges
The Common Black College Application makes it easy and more affordable to apply to HBCUs. Learn all about the Common Black College App....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found