-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
52 lines (45 loc) · 1.26 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
[tool.poetry]
name = "rigol-ds1000z"
version = "0.3.0"
description = "Python library for interfacing with Rigol DS1000Z series oscilloscopes."
authors = ["amosborne <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://amosborne.github.io/rigol-ds1000z/"
repository = "https://github.com/amosborne/rigol-ds1000z"
classifiers = ['Topic :: System :: Hardware :: Hardware Drivers']
[tool.poetry.dependencies]
python = "^3.9"
PyVISA = "^1.11.3"
matplotlib = "^3.5.1"
numpy = "^1.22.2"
textual = "^0.1.18"
si-prefix = "^1.2.2"
PyVISA-py = "^0.5.3"
pyusb = "^1.2.1"
pyserial = "^3.5"
[tool.poetry.dev-dependencies]
pre-commit = "^2.12.1"
isort = "^5.8.0"
mypy = "^0.812"
flake9 = "^3.8.3"
pytest-randomly = "^3.7.0"
pytest-cov = "^2.11.1"
jupyterlab = "^3.2.9"
Sphinx = "^5.0.2"
sphinx-rtd-theme = "^1.0.0"
black = {extras = ["jupyter"], version = "^22.6.0"}
[tool.poetry.scripts]
rigol-ds1000z = "rigol_ds1000z.cli:main"
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.flake8]
max-line-length = 88
extend-ignore = "E203"
exclude = "*.ipynb_checkpoints*"
[tool.pytest.ini_options]
addopts = "--cov=rigol_ds1000z --cov-report=html:docs/coverage"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"