Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
chore: exclude .nox from linting; update suported python versiosn (#37
Browse files Browse the repository at this point in the history
)
  • Loading branch information
yoshi-automation committed Dec 30, 2020
1 parent 09919b0 commit 58bb096
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
1 change: 1 addition & 0 deletions .flake8
Expand Up @@ -26,6 +26,7 @@ exclude =
*_pb2.py

# Standard linting exemptions.
**/.nox/**
__pycache__,
.git,
*.pyc,
Expand Down
11 changes: 5 additions & 6 deletions CONTRIBUTING.rst
Expand Up @@ -21,8 +21,8 @@ In order to add a feature:
- The feature must be documented in both the API and narrative
documentation.

- The feature must work fully on the following CPython versions: 2.7,
3.5, 3.6, 3.7 and 3.8 on both UNIX and Windows.
- The feature must work fully on the following CPython versions:
3.6, 3.7, 3.8 and 3.9 on both UNIX and Windows.

- The feature must not add unnecessary dependencies (where
"unnecessary" is of course subjective, but new dependencies should
Expand Down Expand Up @@ -202,25 +202,24 @@ Supported Python Versions

We support:

- `Python 3.5`_
- `Python 3.6`_
- `Python 3.7`_
- `Python 3.8`_
- `Python 3.9`_

.. _Python 3.5: https://docs.python.org/3.5/
.. _Python 3.6: https://docs.python.org/3.6/
.. _Python 3.7: https://docs.python.org/3.7/
.. _Python 3.8: https://docs.python.org/3.8/
.. _Python 3.9: https://docs.python.org/3.9/


Supported versions can be found in our ``noxfile.py`` `config`_.

.. _config: https://github.com/googleapis/python-dialogflow-cx/blob/master/noxfile.py

Python 2.7 support is deprecated. All code changes should maintain Python 2.7 compatibility until January 1, 2020.

We also explicitly decided to support Python 3 beginning with version
3.5. Reasons for this include:
3.6. Reasons for this include:

- Encouraging use of newest versions of Python 3
- Taking the lead of `prominent`_ open-source `projects`_
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/dialogflowcx_v3/__init__.py
Expand Up @@ -194,6 +194,7 @@
"ExportAgentRequest",
"ExportAgentResponse",
"Flow",
"FlowsClient",
"Form",
"FulfillIntentRequest",
"FulfillIntentResponse",
Expand Down Expand Up @@ -272,7 +273,6 @@
"TrainFlowRequest",
"TransitionRoute",
"TransitionRouteGroup",
"TransitionRouteGroupsClient",
"UpdateAgentRequest",
"UpdateEntityTypeRequest",
"UpdateEnvironmentRequest",
Expand All @@ -291,5 +291,5 @@
"WebhookRequest",
"WebhookResponse",
"WebhooksClient",
"FlowsClient",
"TransitionRouteGroupsClient",
)
4 changes: 2 additions & 2 deletions google/cloud/dialogflowcx_v3beta1/__init__.py
Expand Up @@ -176,7 +176,6 @@
"DetectIntentResponse",
"DtmfInput",
"EntityType",
"EntityTypesClient",
"Environment",
"EnvironmentsClient",
"EventHandler",
Expand Down Expand Up @@ -245,6 +244,7 @@
"SessionEntityType",
"SessionEntityTypesClient",
"SessionInfo",
"SessionsClient",
"SpeechModelVariant",
"SpeechToTextSettings",
"SpeechWordInfo",
Expand Down Expand Up @@ -275,5 +275,5 @@
"WebhookRequest",
"WebhookResponse",
"WebhooksClient",
"SessionsClient",
"EntityTypesClient",
)
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-dialogflow-cx.git",
"sha": "6a49271c10991a954e113e935afc7554d77f5ac4"
"sha": "09919b0e45517cedcbb1d8b5b931c7317be549b2"
}
},
{
Expand All @@ -19,14 +19,14 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "aa255b15d52b6d8950cca48cfdf58f7d27a60c8a"
"sha": "373861061648b5fe5e0ac4f8a38b32d639ee93e4"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "aa255b15d52b6d8950cca48cfdf58f7d27a60c8a"
"sha": "373861061648b5fe5e0ac4f8a38b32d639ee93e4"
}
}
],
Expand Down

0 comments on commit 58bb096

Please sign in to comment.