Juju Charm - Placement
Go to file
Hervé Beraud 96f28e85f8 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I2d545d7001f5879d86c78c19e391b7828d1172b7
2020-06-02 20:04:15 +02:00
src Add focal-ussuri and bionic-ussuri bundle 2020-04-22 17:55:49 +01:00
unit_tests Stop to use the __future__ module. 2020-06-02 20:04:15 +02:00
.gitignore Initial Commit 2019-10-15 18:13:51 +00:00
.gitreview Added .gitreview 2019-10-09 15:08:24 +00:00
.stestr.conf Initial Commit 2019-10-15 18:13:51 +00:00
.zuul.yaml [ussuri][goal] Updates for python 2.7 drop 2020-03-24 17:30:42 +00:00
LICENSE Initial Commit 2019-10-15 18:13:51 +00:00
README.md Add top-level README.md 2019-10-28 10:17:10 -04:00
rebuild Rebuild for sync charm-helpers for 20.05 release 2020-05-11 13:04:50 +01:00
requirements.txt Update charm build requirements 2020-03-03 09:58:26 +01:00
test-requirements.txt Initial Commit 2019-10-15 18:13:51 +00:00
tox.ini Initial Commit 2019-10-15 18:13:51 +00:00

Overview

This is a "source" charm, which is intended to be strictly the top layer of a built charm. This structure declares that any included layer assets are not intended to be consumed as a layer from a functional or design standpoint.

Test and Build

Building, pushing and publishing to the charm store is automated by CI to ensure consistent flow. Manually building is useful for development and testing, however.

tox -e pep8
tox -e py37
tox -e build

Contact Information

Freenode IRC: #openstack-charms