-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
45 lines (37 loc) · 977 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
[tool.poetry]
name = "sds011lib"
version = "0.4.0"
description = "SDS011 Library"
authors = ["Tim Orme <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
pyserial = "^3.5"
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
ruff = "^0.0.256"
black = "^23.1.0"
mypy = "^1.1.1"
types-pyserial = "^3.5.0.8"
myst-parser = "^1.0.0"
mkdocs = "^1.4.2"
mkdocs-gitbook = "^0.0.1"
mkdocs-material = "^9.1.8"
mkdocstrings = {extras = ["python"], version = "^0.21.2"}
tox = "^4.5.1"
pytest-cov = "^4.0.0"
[tool.ruff]
select = ["E", "F", "D"]
ignore = ["D203", "D213"]
line-length = 120
[tool.ruff.pydocstyle]
# Use Google-style docstrings.
convention = "google"
[tool.ruff.per-file-ignores]
"tests/*" = ["D100", "D101", "D102", "D103", "D104" ] # We dont need docstrings in tests
[[tool.mypy.overrides]]
module = "serial.*"
ignore_missing_imports = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"