-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
86 lines (77 loc) · 2.12 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
[project]
name = "serial_tool"
version = "3.1.1"
description = "Serial Tool is a utility for developing, debugging and validating serial communication with PC."
readme = "README.md"
license = { file = "LICENSE.txt" }
keywords = ["serial tool", "UART", "serial", "RS232"]
authors = [
{ name = "Domen Jurkovic", email = "[email protected]" },
]
requires-python = ">=3.11"
dependencies = ["PyQt5", "aioserial", "pyserial"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Topic :: Communications",
"Topic :: Terminals :: Serial",
"Natural Language :: English",
"Programming Language :: Python :: 3.11",
]
[project.urls]
repository = "https://github.com/damogranlabs/serial-tool"
homepage = "https://damogranlabs.com/2019/11/serial-tool-v2"
[project.gui-scripts]
# gui window without console and terminal showing log
serial_tool = "serial_tool.app:main"
[project.scripts]
# console script - prints logs to the terminal
serial_tool_cmd = "serial_tool.app:main"
[project.optional-dependencies]
dev = [
"pre-commit",
"PyQt5Designer",
"pyqt5-stubs",
"pytest",
"mypy",
"black",
"pylint",
"pylint-pytest",
]
test = ["pytest"]
analyze = ["pytest", "mypy", "black", "pylint", "pylint-pytest"]
[tool.pytest.ini_options]
addopts = "-ra -q --color=auto --tb=short --durations=5 -v"
testpaths = ["tests"]
[tool.black]
line-length = 120
include = '\.pyi?$'
extend-exclude = '''
/(
| src/serial_tool/gui
| tests/todo
)/
'''
[tool.pylint]
max-line-length = 120
load-plugins = ["pylint_pytest"]
disable = """
logging-fstring-interpolation,
missing-function-docstring,
missing-class-docstring,
missing-module-docstring,
line-too-long,
too-many-lines,
too-few-public-methods,
invalid-name,
broad-except
"""
extension-pkg-allow-list = ["PyQt5"]
ignore-paths = ['src/serial_tool/gui', 'tests/todo']
good-names = ["f", "ui"]
[tool.mypy]
files = ["src", "tests"]
exclude = ['src/serial_tool/gui', 'tests/todo']
ignore_missing_imports = true