forked from rambo/python-scpi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (57 loc) · 1.36 KB
/
pyproject.toml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[tool.poetry]
name = "scpi"
version = "2.4.0"
description = "Basic idea here is to make transport-independent command sender/parser and a device baseclass that implements the common SCPI commands"
authors = ["Eero af Heurlin <eero.afheurlin@iki.fi>"]
homepage = "https://github.com/rambo/python-scpi/"
repository = "https://github.com/rambo/python-scpi/"
license = "LGPL"
readme = "README.rst"
[tool.black]
line-length = 120
target-version = ['py37']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| __pycache__
)
'''
[tool.pytest.ini_options]
junit_family="xunit2"
addopts="--cov=scpi --cov-branch"
[tool.pylint.format]
max-line-length = 120
[tool.pylint.messages_control]
disable=["fixme", "W1202", "C0330"]
[tool.coverage.run]
omit = ["tests/*"]
branch = true
[tool.poetry.dependencies]
python = "^3.6"
pyserial = "^3.4"
[tool.poetry.dev-dependencies]
pytest = "^6.2"
coverage = {version = "^5.4", extras = ["toml"]}
pytest-cov = "^2.11"
pylint = "^2.5"
black = "=20.8b1"
bandit = "^1.6"
mypy = "^0.800"
pre-commit = "^1.20"
pytest-asyncio = "^0.14"
bump2version = "^1.0"
detect-secrets = "^1.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"