-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (67 loc) · 1.57 KB
/
pyproject.toml
File metadata and controls
73 lines (67 loc) · 1.57 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
70
71
72
73
[build-system]
requires = ['hatchling']
build-backend = 'hatchling.build'
[project]
name='justpyplot'
version='0.2.4'
authors=[{ name='bedbad',email='antonyuk@bu.edu'}]
description='Get your plot in you array, plot fast'
readme='README.md'
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
]
Repository='https://github.com/bedbad/justpyplot'
dependencies=[
'numpy',
#'opencv-python',
]
[project.optional-dependencies]
demo=[
'mediapipe',
'scipy'
]
cv2 = ["opencv-python"]
perf_timer = ["perf_timer"]
PIL = ["PIL"]
dev = [
'ruff>=0.0.279', # Specify the Ruff version
'perf_timer',
'opencv-python',
]
[tool.hatch.build]
include = [
"justpyplot/*.py",
"examples/*",
"docs/*",
"LICENSE",
]
exclude = [
"README.md",
"tests/*",
"scripts/*",
"*.pyc",
"__pycache__",
"*.so"
]
[tool.ruff]
line-length = 88
lint.ignore = [
"W191", # tab-indentation
"E111", # indentation-with-invalid-multiple
"E114", # indentation-with-invalid-multiple-comment
"E117", # over-indented
"D206", # indent-with-spaces
"D300", # triple-single-quotes
"Q000", # bad-quotes-inline-string
"Q001", # bad-quotes-multiline-string
"Q002", # bad-quotes-docstring
"Q003", # avoidable-escaped-quote
"COM812", # missing-trailing-comma
"COM819", # prohibited-trailing-comma
"ISC001", # single-line-implicit-string-concatenation
"ISC002", # multi-line-implicit-string-concatenation
]
[tool.ruff.format]
quote-style='single'