-
Notifications
You must be signed in to change notification settings - Fork 270
/
pyproject.toml
68 lines (60 loc) · 1.29 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
[build-system]
# AVOID CHANGING REQUIRES: IT WILL BE UPDATED BY PYSCAFFOLD!
requires = [
'pyinstaller==6.11.1',
'setuptools==75.6.0',
'setuptools_scm[toml]==8.1.0',
'uv==0.5.5',
]
build-backend = 'setuptools.build_meta'
[project]
name='NanoVNASaver'
description='GUI for the NanoVNA and derivates'
requires-python = ">=3.9"
license={file = 'LICENSE'}
dependencies=[
'pyserial==3.5',
'PyQt6==6.7.1',
'PyQt6-sip==13.8.0',
'sip==6.8.6',
'numpy==2.1.3',
'scipy==1.14.1',
'Cython==3.0.11',
]
dynamic=['version', 'readme']
[tool.setuptools_scm]
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
root='.'
version_scheme = 'no-guess-dev'
write_to = 'src/NanoVNASaver/_version.py'
[tool.pytest.ini_options]
pythonpath = [
'.', 'src',
]
[tool.black]
line-length = 80
[tool.ruff]
line-length = 80
target-version = 'py311'
fix = true
show-fixes = true
unsafe-fixes = false
[tool.ruff.lint]
select = [
'E', 'W', # pycodestyle (E(rror), W(arning))
'F', # Pyflakes
'B', # flake8-bugbear
'I', # isort
'N', # pep8-naming
'PL', # pylint
'C90', # mccabe
'RUF100', # unused suppresions
]
ignore = [
'N802',
'N806',
'N999',
]
[tool.ruff.lint.mccabe]
max-complexity = 10