Fix bug 1598 - tweaking timings in the locks
[osm/RO.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 2122fb5..7d0a3d2 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -30,6 +30,14 @@ deps =  -r{toxinidir}/requirements.txt
 parallel_show_output = true
 
 
+#######################################################################################
+[testenv:release_notes]
+deps = reno
+skip_install = true
+commands =
+        reno new {posargs:new_feature}
+
+
 #######################################################################################
 [testenv:black]
 deps = black
@@ -194,11 +202,12 @@ commands =
 #######################################################################################
 [testenv:pip-compile]
 deps =  pip-tools==5.5.0
+skip_install = true
 commands =
-        - sh -c 'for file in requirements*.in ; do pip-compile -rU --no-header $file ;\
-        out=`echo $file | sed "s/.in/.txt/"` ; \
-        head -16 tox.ini >> $out ;\
-        done'
+        - sh -c "for file in requirements*.in ; do pip-compile -rU --no-header $file ;\
+        out=`echo $file | sed 's/.in/.txt/'` ; \
+        sed -i -e '1 e head -16 tox.ini' $out ;\
+        done"
 whitelist_externals = sh