Skip to content

Commit

Permalink
fix: re-add py sessions to noxfile (#22)
Browse files Browse the repository at this point in the history
* fix: re-add py sessions to noxfile

Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>
  • Loading branch information
busunkim96 and vinnysenthil committed Oct 19, 2020
1 parent 0fc50ab commit 3c713d5
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 6 deletions.
2 changes: 0 additions & 2 deletions google/cloud/aiplatform/__init__.py
Expand Up @@ -15,6 +15,4 @@
# limitations under the License.
#

from google.cloud.aiplatform import gapic

__all__ = ()
7 changes: 3 additions & 4 deletions noxfile.py
Expand Up @@ -26,9 +26,9 @@
BLACK_VERSION = "black==19.10b0"
BLACK_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]

DEFAULT_PYTHON_VERSION = ""
SYSTEM_TEST_PYTHON_VERSIONS = []
UNIT_TEST_PYTHON_VERSIONS = []
DEFAULT_PYTHON_VERSION = "3.8"
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"]
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8"]


@nox.session(python=DEFAULT_PYTHON_VERSION)
Expand Down Expand Up @@ -156,7 +156,6 @@ def docs(session):
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
"sphinx-build",
"-W", # warnings as errors
"-T", # show full traceback on exception
"-N", # no colors
"-b",
Expand Down
Empty file removed samples/requirements.txt
Empty file.
3 changes: 3 additions & 0 deletions synth.py
Expand Up @@ -128,4 +128,7 @@
templated_files, excludes=[".coveragerc"]
) # the microgenerator has a good coveragerc file

# Don't treat docs warnings as errors
s.replace("noxfile.py", """["']-W["'], # warnings as errors""", "")

s.shell.run(["nox", "-s", "blacken"], hide_output=False)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3c713d5

Please sign in to comment.