Adding release notes and enabling import order check
Enabling Flake8 library import order check,
adding release_notes, enabling stage-test failing by tox results.
Change-Id: I490b4cb3fe5904f54d84f0ce9b41fe91ec8b4f5d
Signed-off-by: aticig <gulsum.atici@canonical.com>
diff --git a/tox.ini b/tox.ini
index ce0ffcb..e763ca2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -52,7 +52,9 @@
#######################################################################################
[testenv:flake8]
-deps = flake8
+deps =
+ flake8
+ flake8-import-order
commands =
flake8 osm_common/ setup.py
@@ -104,6 +106,15 @@
whitelist_externals = sh
#######################################################################################
+[testenv:release_notes]
+deps = reno
+skip_install = true
+whitelist_externals = bash
+commands =
+ reno new {posargs:new_feature}
+ bash -c "sed -i -e '1 e head -16 tox.ini' releasenotes/notes/{posargs:new_feature}*.yaml"
+
+#######################################################################################
[flake8]
ignore =
W291,
@@ -121,3 +132,4 @@
max-line-length = 120
show-source = True
builtins = _
+import-order-style = google