Skip to content

Commit b12b80a

Browse files
committed
chore: drop 2.7 tests, fix links
1 parent 29a6841 commit b12b80a

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

recommender/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Python Client for Recommender API (`Alpha`_)
99
.. _Alpha: https://github.com/googleapis/google-cloud-python/blob/master/README.rst
1010
.. _Recommender API: https://cloud.google.com/recommender
1111
.. _Client Library Documentation: https://googleapis.github.io/google-cloud-python/latest/recommender/usage.html
12-
.. _Product Documentation: https://cloud.google.com/recommender
12+
.. _Product Documentation: https://cloud.google.com/recommender/docs
1313

1414
Quick Start
1515
-----------
@@ -24,7 +24,7 @@ In order to use this library, you first need to go through the following steps:
2424
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
2525
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
2626
.. _Enable the Recommender API.: https://cloud.google.com/recommender
27-
.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html
27+
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
2828

2929
Installation
3030
~~~~~~~~~~~~

recommender/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ def default(session):
8686
)
8787

8888

89-
@nox.session(python=["2.7", "3.5", "3.6", "3.7"])
89+
@nox.session(python=["3.5", "3.6", "3.7"])
9090
def unit(session):
9191
"""Run the unit test suite."""
9292
default(session)
9393

9494

95-
@nox.session(python=["2.7", "3.7"])
95+
@nox.session(python=["3.7"])
9696
def system(session):
9797
"""Run the system test suite."""
9898
system_test_path = os.path.join("tests", "system.py")

recommender/setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
description = "Cloud Recommender API client library"
2424
version = "0.1.0"
2525
release_status = "Development Status :: 3 - Alpha"
26-
dependencies = [
27-
"google-api-core[grpc] >= 1.14.0, < 2.0.0dev",
28-
]
26+
dependencies = ["google-api-core[grpc] >= 1.14.0, < 2.0.0dev"]
2927

3028
package_root = os.path.abspath(os.path.dirname(__file__))
3129

recommender/synth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
# Add templated files
3737
# ----------------------------------------------------------------------------
3838
templated_files = common.py_library(unit_cov_level=97, cov_level=100)
39-
s.move(templated_files)
39+
s.move(templated_files, excludes=['noxfile.py'])
4040

4141
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)