forked from edanliahovetsky/BLine-GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (57 loc) · 1.52 KB
/
pyproject.toml
File metadata and controls
69 lines (57 loc) · 1.52 KB
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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "bline"
version = "0.3.0"
description = "A PySide6 GUI for planning and simulating FRC robot paths."
readme = "README.md"
requires-python = ">=3.11"
authors = [{ name = "FRC PTP Maintainers" }]
dependencies = [
"PySide6>=6.6",
"imageio>=2.0",
"pyshortcuts>=1.9",
]
[project.scripts]
bline = "main:main"
[project.optional-dependencies]
dev = [
"black>=24.8.0",
"mypy>=1.11.0",
"pytest>=8.2.0",
"ruff>=0.6.5",
]
[tool.setuptools]
packages = ["models", "ui", "ui.canvas", "ui.canvas.items", "ui.canvas.components", "ui.main_window", "ui.resources", "ui.sidebar", "ui.sidebar.components", "ui.sidebar.mixins", "ui.sidebar.utils", "ui.sidebar.widgets", "utils"]
py-modules = ["main", "assets_rc"]
include-package-data = true
[tool.setuptools.package-data]
"*" = ["*.png", "*.json"]
[tool.setuptools.data-files]
"bline_assets" = ["assets/*.png"]
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.ruff]
target-version = "py311"
line-length = 100
src = ["."]
extend-exclude = ["assets_rc.py"]
[tool.ruff.lint]
select = ["E9", "F63", "F7", "F82"]
ignore = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
strict_optional = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unreachable = true
files = ["models", "utils", "scripts", "tests"]
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]