Skip to content

Commit 3460db1

Browse files
chore(python): simplify nox steps in CONTRIBUTING.rst (#90)
Source-Link: googleapis/synthtool@26558ba Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:99d90d097e4a4710cc8658ee0b5b963f4426d0e424819787c3ac1405c9a26719
1 parent 66208b2 commit 3460db1

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-python:latest
3-
digest: sha256:df50e8d462f86d6bcb42f27ecad55bb12c404f1c65de9c6fe4c4d25120080bd6
3+
digest: sha256:99d90d097e4a4710cc8658ee0b5b963f4426d0e424819787c3ac1405c9a26719

packages/google-cloud-os-login/CONTRIBUTING.rst

+6-8
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,12 @@ Using ``nox``
6868
We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.
6969

7070
- To test your changes, run unit tests with ``nox``::
71+
$ nox -s unit
7172

72-
$ nox -s unit-3.8
73-
$ ...
73+
- To run a single unit test::
7474

75-
- Args to pytest can be passed through the nox command separated by a `--`. For
76-
example, to run a single test::
75+
$ nox -s unit-3.9 -- -k <name of test>
7776

78-
$ nox -s unit-3.8 -- -k <name of test>
7977

8078
.. note::
8179

@@ -142,7 +140,7 @@ Running System Tests
142140
- To run system tests, you can execute::
143141

144142
# Run all system tests
145-
$ nox -s system-3.8
143+
$ nox -s system
146144

147145
# Run a single system test
148146
$ nox -s system-3.8 -- -k <name of test>
@@ -215,8 +213,8 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
215213
.. _config: https://github.com/googleapis/python-oslogin/blob/master/noxfile.py
216214

217215

218-
We also explicitly decided to support Python 3 beginning with version
219-
3.6. Reasons for this include:
216+
We also explicitly decided to support Python 3 beginning with version 3.6.
217+
Reasons for this include:
220218

221219
- Encouraging use of newest versions of Python 3
222220
- Taking the lead of `prominent`_ open-source `projects`_

0 commit comments

Comments
 (0)