forked from scikit-rf/scikit-rf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
144 lines (123 loc) · 3.09 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[project]
name = "scikit-rf"
dynamic = ["version"]
description = "Object Oriented Microwave Engineering"
requires-python = ">=3.8"
authors = [
{name="Alex Arsenovic", email="[email protected]"}
]
license = {text="LICENSE.txt"}
readme = "README.md"
keywords = [
"engineering",
"electronics",
"microwave-engineering",
"radio-frequency",
"touchstone"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Communications :: Ham Radio",
"Topic :: Scientific/Engineering",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"numpy >=1.21",
"scipy >=1.7",
"pandas >=1.1",
]
[project.optional-dependencies]
test = [
"tox >= 3.26.0",
"pytest >=7.0",
"pytest-mock >= 3.10",
"pytest-xdist >= 3.5.0",
"coverage >=6.0",
"flake8 >=5.0",
"pytest-cov >=4.0",
"nbval >=0.9",
"pyarrow >= 10.0"
]
plot = [
"matplotlib >=3.5"
]
xlsx = [
"openpyxl >=3.0"
]
netw = [
"networkx >= 2.0"
]
visa = [
"PyVISA >= 1.12",
"pyvisa-py >= 0.6"
]
docs = [
"ipython >=7",
"ipykernel >=6.15",
"ipywidgets >=8.0.2",
"python-ivi >=0.14.9",
"jupyter-client >=7.3.5",
"sphinx-rtd-theme >=1.0",
"sphinx >=4",
"nbsphinx >= 0.8.9",
"openpyxl >= 3"
]
[project.urls]
homepage = "https://scikit-rf.org/"
repository = "https://github.com/scikit-rf/scikit-rf"
documentation = "https://scikit-rf.readthedocs.io/en/latest/"
[build-system]
requires = [
"setuptools >= 64",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
license-files = ["LICENSE.txt"]
[tool.setuptools.dynamic]
version = {attr = "skrf.__version__"}
[tool.setuptools.packages.find]
include = ["skrf*"]
[tool.setuptools.package-data]
skrf = ["data/*.s*p", "data/*.cal", "data/*.mplstyle"]
[tool.pytest.ini_options]
testpaths = [
"skrf",
"doc/source/examples",
"doc/source/tutorials"
]
addopts = "--cov=skrf --ignore-glob='*.ipynb_checkpoints'"
norecursedirs = [
"skrf/src",
"doc/source/examples/instrumentcontrol"
]
filterwarnings = [
"error",
]
[tool.ruff]
# larger line length for rule E501 (default is 88)
line-length = 120
[tool.ruff.lint]
select = ["B", "E", "F", "FA", "I", "NPY", "UP", "W"]
# Ignore some rules for all files
# E741: ambiguous-variable-name
ignore = ["E741"]
[tool.ruff.lint.per-file-ignores]
# Ignore some rules for some specific files
# E402: imports at the beginning of file
# F401: unused-import
# F841: unused-variable
"__init__.py" = ["E402", "F401", "F403", "F405"]
"apps/*" = ["F403", "F405"]
"doc/source/conf.py" = ["E402"]
"doc/sphinxext/tests/test_docscrape.py" = ["E402", "F403", "F405"]
"*/tests/*.py"=["B018", "F841"]