machine_spec = {
"machine_type": "n1-standard-2",
}
"machine_spec = {"machine_type": "n1-standard-2",}
nox > python -m pip install flake8 black==19.10b0
nox > black --check docs google tests noxfile.py setup.py
All done! ✨ 🍰 ✨
669 files would be left unchanged.
nox > flake8 google tests
tests/system/aiplatform/test_project_id_inference.py:41:65: E231 missing whitespace after ','
nox > Command flake8 google tests failed with exit code 1
nox > Session lint failed.
Black formats
to
But Flake8 fails with error:
See the log: https://source.cloud.google.com/results/invocations/4fc606fe-ddd0-4edc-ad78-66c695279171/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-aiplatform%2Fpresubmit%2Fpresubmit/log