-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (41 loc) · 943 Bytes
/
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "picamzero"
description = "A library to make it easy for beginners to use the Raspberry Pi camera"
readme = "README.md"
license = {file="LICENSE"}
dynamic = ["version"]
authors = [
{ name="Raspberry Pi Foundation", email="[email protected]" }
]
dependencies = [
"picamera2",
"opencv-python-headless"
]
requires-python = ">= 3.11"
[tool.hatch.version]
path = "picamzero/__init__.py"
# Configure static checkers/tools
[tool.isort]
atomic = true
line_length = 88
profile = "black"
skip_gitignore = true
src_paths = ["src", "tests"]
skip_glob = ["tests/resources", "venv", "dist", "docs", "scripts"]
[tool.black]
line-length = 88
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = '''
(
^/test/resources
)
'''
[tool.bandit]
skips = ["B101", "B404"]
exclude = ["tests/resources"]
[tool.pyright]
pythonPlatform = "Linux"