-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (69 loc) · 1.93 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
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "digsim-logic-simulator"
description = "Interactive Digital Logic Simulator"
version = "0.6.0"
authors = [{name = "Fredrik Andersson", email = "freand@gmail.com"}]
maintainers = [{name = "Fredrik Andersson", email = "freand@gmail.com"}]
readme = "README.md"
license = { file = "LICENSE.md" }
urls = { homepage = "https://github.com/freand76/digsim" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.9"
dependencies = [
"pyvcd>=0.4.0",
"pyside6>=6.7.3,<6.8",
"pexpect==4.9.0",
"pydantic==2.9.2",
"qtawesome",
"yowasp-yosys==0.45.0.0.post775",
]
keywords = ["educational", "simulation", "digital"]
[tool.ruff]
line-length = 99
target-version = "py39"
show-fixes = true
output-format = "full"
src = ["src"]
namespace-packages = ["src/digsim"]
[tool.ruff.lint]
# "extend" here adds to the ruff defaults, rather than replacing.
# Q = flake8-quotes, TID = flake8-tidy-imports, I = isort, FA = flake8-future-annotations
extend-select = ["Q", "TID", "I", "FA"]
# E501 = "line too long". Handled by black.
extend-ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "parents"
[tool.ruff.lint.isort]
lines-after-imports = 2
known-third-party = [
"pexpect",
"pytest",
"pyvcd",
"qtawesome",
"yowasp-yosys",
]
section-order = [
"future",
"standard-library",
"third-party",
"PySide6",
"pyqtgraph",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
"PySide6" = ["PySide6"]
"pyqtgraph" = ["pyqtgraph"]