-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
74 lines (65 loc) · 1.98 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "pygellermann"
description = "A Python Gellermann series generator"
license = {text = "GNU General Public License v3 or later (GPLv3+)"}
authors = [
{name = "Yannick Jadoul", email = "[email protected]"}
]
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
dependencies = [
"pandas",
"qtpy",
"PyQt6",
"pyqtdarktheme",
]
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/YannickJadoul/PyGellermann"
"Changelog" = "https://github.com/YannickJadoul/PyGellermann/releases"
"Bug Tracker" = "https://github.com/YannickJadoul/PyGellermann/issues"
"Source Code" = "https://github.com/YannickJadoul/PyGellermann"
[project.gui-scripts]
pygellermann-gui = "pygellermann.gui:main"
[tool.setuptools_scm]
write_to = "pygellermann/_version.py"
[tool.check-manifest]
ignore = ["pygellermann/_version.py"]
[tool.flake8]
max-line-length = 160
max-doc-length = 100
docstring-convention = "numpy"
per-file-ignores = [
"pygellermann/gui.py:D101,D102,D103",
"scripts/*:D100,D103",
"tests/*:D100,D103",
]
[tool.isort]
multi_line_output = 3
sections = ["FUTURE", "PYTEST", "QT", "LOCALFOLDER", "FIRSTPARTY", "THIRDPARTY", "STDLIB", "TYPING"]
known_first_party = ["pygellermann"]
known_pytest = ["pytest"]
known_qt = ["qtpy"]
known_typing = ["typing", "numpy.typing"]
[tool.mypy]
packages = ["pygellermann"]
plugins = "numpy.typing.mypy_plugin"
strict = true
always_true = "PYQT6"
always_false = ["PYQT5", "PYSIDE2", "PYSIDE6"]
[[tool.mypy.overrides]]
module = "pygellermann.gui"
strict = false
disallow_untyped_calls = false
disallow_untyped_defs = false
check_untyped_defs = true