| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@c24t, isort check failed in kokoro. It looks like isort conflicts with black (the formatter we're using in Google Python clients, see config). They sort imports in different ways. I don't see isort mentions in the original Spanner client. Maybe we should redact tox to run black instead of isort (in this PR probably)? |
Sorry, something went wrong.
There was a problem hiding this comment.
Some minor blocking comments, but the changes look great otherwise.
Sorry, something went wrong.
Another option is to change isort's config to appease black. [settings] include_trailing_comma=True force_grid_wrap=0 use_parentheses=True line_length=79 multi_line_output=3 skip=target skip_glob=... known_first_party=... known_third_party=... We had to do this in another project here: open-telemetry/opentelemetry-python#104 (comment). |
Sorry, something went wrong.
There was a problem hiding this comment.
@c24t, looks like comments are mostly about things that I'm just mimicking from other Cloud repos. It's not my preferences, so I'm ready to do however you (as a googler) decide
Sorry, something went wrong.
| **self.settings_dict['OPTIONS'], | ||
| "project": self.settings_dict["PROJECT"], | ||
| "instance_id": self.settings_dict["INSTANCE"], | ||
| "database_id": self.settings_dict["NAME"], |
There was a problem hiding this comment.
Changed arg names here, other changes in the file are just about formatting
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Run formatters.
Fit doclines, variable names and function args to the original Spanner client fashion.
Cover the function with unit tests.
Closes #460