-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (26 loc) · 847 Bytes
/
tox.ini
File metadata and controls
29 lines (26 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# ---------------------------------------------------------------------------
# Setup script for MTDA
# ---------------------------------------------------------------------------
#
# This software is a part of MTDA.
# Copyright (C) 2026 Siemens AG
#
# ---------------------------------------------------------------------------
# SPDX-License-Identifier: MIT
# ---------------------------------------------------------------------------
[tox]
envlist = py38,py39,py310,py311,py312,py313
[testenv]
allowlist_externals = bash
deps =
flake8
pytest
reuse
python-debian < 0.1.44
commands =
flake8 --exclude mtda/scripts,*_pb2.py,*_pb2_grpc.py mtda mtda-cli mtda-service mtda-www
reuse lint
bash ./scripts/test-using-docker
[flake8]
exclude = dist,docs,*.egg-info,__pycache__,*_pb2.py,*_pb2_grpc.py
max-line-length = 120