-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
43 lines (35 loc) · 888 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
[tool.poetry]
name = "rpi-camera-apps"
version = "0.2.0"
description = "Raspberry Pi Camera Apps"
authors = ["Channing Ko-Madden <[email protected]>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = ">=3.11"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[virtualenvs.options]
system-site-packages = true
[tool.poetry.group.dev.dependencies]
ruff = "*"
pre-commit = "*"
pytest = "*"
pytest-asyncio = "*"
python-lsp-server = "*"
[tool.ruff]
line-length = 120
target-version = "py39"
exclude = ["example_*.*", ".venv"]
extend-exclude = ["^/src/*"]
[tool.ruff.lint]
ignore = [
"E731", # E731 forbids lambda assignments
"F403" # F403 forbids "import *" (used in __init__.py)
]
extend-select = ["I"]
[tool.ruff.lint.isort]
known-local-folder = ["rca"]
[tool.pytest.ini_options]
asyncio_mode = "auto"