@@ -21,8 +21,8 @@ In order to add a feature:
21
21
- The feature must be documented in both the API and narrative
22
22
documentation.
23
23
24
- - The feature must work fully on the following CPython versions: 2.7,
25
- 3.5 , 3.6 , 3.7 and 3.8 on both UNIX and Windows.
24
+ - The feature must work fully on the following CPython versions:
25
+ 3.6 , 3.7 , 3.8 and 3.9 on both UNIX and Windows.
26
26
27
27
- The feature must not add unnecessary dependencies (where
28
28
"unnecessary" is of course subjective, but new dependencies should
@@ -111,6 +111,16 @@ Coding Style
111
111
should point to the official ``googleapis `` checkout and the
112
112
the branch should be the main branch on that remote (``master ``).
113
113
114
+ - This repository contains configuration for the
115
+ `pre-commit <https://pre-commit.com/ >`__ tool, which automates checking
116
+ our linters during a commit. If you have it installed on your ``$PATH ``,
117
+ you can enable enforcing those checks via:
118
+
119
+ .. code-block :: bash
120
+
121
+ $ pre-commit install
122
+ pre-commit installed at .git/hooks/pre-commit
123
+
114
124
Exceptions to PEP8:
115
125
116
126
- Many unit tests use a helper method, ``_call_fut `` ("FUT" is short for
@@ -192,25 +202,24 @@ Supported Python Versions
192
202
193
203
We support:
194
204
195
- - `Python 3.5 `_
196
205
- `Python 3.6 `_
197
206
- `Python 3.7 `_
198
207
- `Python 3.8 `_
208
+ - `Python 3.9 `_
199
209
200
- .. _Python 3.5 : https://docs.python.org/3.5/
201
210
.. _Python 3.6 : https://docs.python.org/3.6/
202
211
.. _Python 3.7 : https://docs.python.org/3.7/
203
212
.. _Python 3.8 : https://docs.python.org/3.8/
213
+ .. _Python 3.9 : https://docs.python.org/3.9/
204
214
205
215
206
216
Supported versions can be found in our ``noxfile.py `` `config `_.
207
217
208
218
.. _config : https://github.com/googleapis/python-video-transcoder/blob/master/noxfile.py
209
219
210
- Python 2.7 support is deprecated. All code changes should maintain Python 2.7 compatibility until January 1, 2020.
211
220
212
221
We also explicitly decided to support Python 3 beginning with version
213
- 3.5 . Reasons for this include:
222
+ 3.6 . Reasons for this include:
214
223
215
224
- Encouraging use of newest versions of Python 3
216
225
- Taking the lead of `prominent `_ open-source `projects `_
0 commit comments