Skip to content

Commit e24333f

Browse files
chore(python): simplify nox steps in CONTRIBUTING.rst (#187)
Source-Link: googleapis/synthtool@26558ba Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:99d90d097e4a4710cc8658ee0b5b963f4426d0e424819787c3ac1405c9a26719 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b907915 commit e24333f

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
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

CONTRIBUTING.rst

Lines changed: 6 additions & 8 deletions
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>
@@ -240,8 +238,8 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
240238
.. _config: https://github.com/googleapis/python-datastore/blob/master/noxfile.py
241239

242240

243-
We also explicitly decided to support Python 3 beginning with version
244-
3.6. Reasons for this include:
241+
We also explicitly decided to support Python 3 beginning with version 3.6.
242+
Reasons for this include:
245243

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

0 commit comments

Comments
 (0)