generate python proto files, third trial ;)
add test for generated python files
Signed-off-by: uwe ottrembka <uwe.ottrembka@adtran.com>
Change-Id: Id336c263bbc9420bd4c64093ab37ba6da5c77514
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..a91211e
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,31 @@
+
+
+; Copyright 2019-present Open Networking Foundation
+;
+; Licensed under the Apache License, Version 2.0 (the "License");
+; you may not use this file except in compliance with the License.
+; You may obtain a copy of the License at
+;
+; http://www.apache.org/licenses/LICENSE-2.0
+;
+; Unless required by applicable law or agreed to in writing, software
+; distributed under the License is distributed on an "AS IS" BASIS,
+; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+; See the License for the specific language governing permissions and
+; limitations under the License.
+
+[tox]
+envlist = py34,py35,py36,py37
+skip_missing_interpreters = true
+
+[testenv]
+deps =
+ coverage
+
+commands =
+ coverage report python/dmi/commons_pb2.py python/dmi/hw_management_service_pb2.py python/dmi/hw_pb2.py python/dmi/sw_management_service_pb2.py python/dmi/hw_events_mgmt_service_pb2.py python/dmi/hw_metrics_mgmt_service_pb2.py python/dmi/sw_image_pb2.py
+
+[flake8]
+max-line-length = 119
+
+