Closed bolliger32 closed 4 years ago
Hey @brews !
Yeah the summary is just that I started off just trying to clean things up just calling black on everything. We've added black --check .
as part of our testing on the coastal team repo and I think it's helped keep things fairly uniform. So i'd be in favor of that if you guys want. Regardless, for the time being, I just thought I would tidy things up a bit. In addition to black, I also ran flake8 just to see what it would come up with (just default settings, except for --max-line-length=88 to match black). I didn't fix everything I dont' think (e.g. I didn't fix all whitespaces) but I fixed the typos it noticed (like when I wrote isintance instead of isinstance).
Previously master was failing so I thought that was the failures that this PR was running into, but I just rebased onto @delgadom 's changes (which are now passing on master) and it's still failing. Not sure what's going on as it's a sphinx-build issue that passes fine on my notebook...
In general reviewing "black everything" PRs is close to impossible so I'd strongly prefer separating this from everything else. Ok if we close this, run black as a separate PR, then try to tackle these remaining items one at a time?
Soundsd good to me! I'll keep this branch and then when we're ready to try again after theres a separate black-only PR we can merge again.
closing - see #75
flake8 rhg_compute_tools tests docs
(some things in tests still raise flake8 warnings, but they are ones that are needed for pytest)Started off by just calling black and flake8 on everything. Flake8 caused me to spot a few typos that hadn't caught up to us yet but would soon.
isintance
instead ofisinstance
inkubernetes.py
warnings
inkubernetes.py