Skip to content

Commit 2a88452

Browse files
committed
chore: update repo URLs and references and check for Ruff
1 parent 48bc3aa commit 2a88452

5 files changed

Lines changed: 15 additions & 13 deletions

File tree

packages/google-cloud-storage/.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"release_level": "stable",
88
"language": "python",
99
"library_type": "GAPIC_MANUAL",
10-
"repo": "googleapis/python-storage",
10+
"repo": "googleapis/google-cloud-python",
1111
"distribution_name": "google-cloud-storage",
1212
"api_id": "storage.googleapis.com",
1313
"requires_billing": true,

packages/google-cloud-storage/CONTRIBUTING.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ You'll have to create a development environment using a Git checkout:
4242

4343
- Clone your fork of ``python-storage`` from your GitHub account to your local
4444
computer, substituting your account username and specifying the destination
45-
as ``hack-on-python-storage``. E.g.::
45+
as ``hack-on-google-cloud-python``. E.g.::
4646

4747
$ cd ${HOME}
48-
$ git clone git@github.com:USERNAME/python-storage.git hack-on-python-storage
49-
$ cd hack-on-python-storage
50-
# Configure remotes such that you can pull changes from the googleapis/python-storage
48+
$ git clone git@github.com:USERNAME/google-cloud-python.git hack-on-google-cloud-python
49+
$ cd hack-on-google-cloud-python
50+
# Configure remotes such that you can pull changes from the googleapis/google-cloud-python
5151
# repository into your local repository.
52-
$ git remote add upstream git@github.com:googleapis/python-storage.git
52+
$ git remote add upstream git@github.com:googleapis/google-cloud-python.git
5353
# fetch and merge changes from upstream into main
5454
$ git fetch upstream
5555
$ git merge upstream/main
@@ -60,7 +60,7 @@ repo, from which you can submit a pull request.
6060
To work on the codebase and run the tests, we recommend using ``nox``,
6161
but you can also use a ``virtualenv`` of your own creation.
6262

63-
.. _repo: https://github.com/googleapis/python-storage
63+
.. _repo: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-storage
6464

6565
Using ``nox``
6666
=============
@@ -186,7 +186,7 @@ The `description on PyPI`_ for the project comes directly from the
186186
``README``. Due to the reStructuredText (``rst``) parser used by
187187
PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
188188
instead of
189-
``https://github.com/googleapis/python-storage/blob/main/CONTRIBUTING.rst``)
189+
``https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-storage/CONTRIBUTING.rst``)
190190
may cause problems creating links or rendering the description.
191191

192192
.. _description on PyPI: https://pypi.org/project/google-cloud-storage

packages/google-cloud-storage/README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A comprehensive list of changes in each version may be found in the `CHANGELOG`_
1414

1515
- `Product Documentation`_
1616
- `Client Library Documentation`_
17-
- `github.com/googleapis/python-storage`_
17+
- `github.com/googleapis/google-cloud-python`_
1818

1919
Certain control plane and long-running operations for Cloud Storage (including Folder
2020
and Managed Folder operations) are supported via the `Storage Control Client`_.
@@ -33,8 +33,8 @@ Google APIs Client Libraries, in `Client Libraries Explained`_.
3333
.. _Google Cloud Storage: https://cloud.google.com/storage
3434
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/storage/latest/summary_overview
3535
.. _Product Documentation: https://cloud.google.com/storage
36-
.. _CHANGELOG: https://github.com/googleapis/python-storage/blob/main/CHANGELOG.md
37-
.. _github.com/googleapis/python-storage: https://github.com/googleapis/python-storage
36+
.. _CHANGELOG: https://github.com/googleapis/google-cloud-python/blob/main/CHANGELOG.md
37+
.. _github.com/googleapis/google-cloud-python: https://github.com/googleapis/google-cloud-python
3838
.. _Storage Control Client: https://cloud.google.com/python/docs/reference/google-cloud-storage-control/latest
3939
.. _Storage Control API: https://cloud.google.com/storage/docs/reference/rpc/google.storage.control.v2
4040
.. _Client Libraries Explained: https://cloud.google.com/apis/docs/client-libraries-explained
@@ -77,7 +77,7 @@ Code samples and snippets
7777

7878
Code samples and snippets live in the `samples/`_ folder.
7979

80-
.. _`samples/`: https://github.com/googleapis/python-storage/tree/main/samples
80+
.. _`samples/`: https://github.com/googleapis/google-cloud-python/tree/main/samples
8181

8282

8383
Supported Python Versions

packages/google-cloud-storage/noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ def default(session, install_extras=True):
152152
@nox.session(python=UNIT_TEST_PYTHON_VERSIONS)
153153
def unit(session):
154154
"""Run the unit test suite."""
155+
if session.python in ("3.7",):
156+
session.skip("Python 3.7 is no longer supported")
155157
default(session)
156158

157159

packages/google-cloud-storage/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
author="Google LLC",
121121
author_email="googleapis-packages@google.com",
122122
license="Apache 2.0",
123-
url="https://github.com/googleapis/python-storage",
123+
url="https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-storage",
124124
classifiers=[
125125
release_status,
126126
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)