summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-03-31 16:47:34 -0400
committerGitHub <noreply@github.com>2020-03-31 16:47:34 -0400
commitf51e3d0e23b2873f077d1b7b3ac6874b94b1a374 (patch)
treefea0d1a970c125643c4577ac8ed50efbe752352d /HACKING.rst
parentb698b349c827f30fa60de55e2469a21ae4342669 (diff)
downloadvyos-cloud-init-f51e3d0e23b2873f077d1b7b3ac6874b94b1a374.tar.gz
vyos-cloud-init-f51e3d0e23b2873f077d1b7b3ac6874b94b1a374.zip
HACKING.rst: add note about variable annotations (#295)
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 6ceba2ef..0c144ac7 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -198,4 +198,9 @@ additional Python module on platforms using Python 3.4. As such
platforms are generally in maintenance mode, the introduction of a new
dependency may act as a break in compatibility in practical terms.
+Similarly, only function annotations are appropriate for use, as the
+variable annotations specified in `PEP-526`_ were introduced in Python
+3.6.
+
.. _PEP-484: https://www.python.org/dev/peps/pep-0484/
+.. _PEP-526: https://www.python.org/dev/peps/pep-0526/