-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (58 loc) · 1.47 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[project]
version = "0.1.4" # see below
requires-python = ">=3.10"
[tool.poetry]
name = "pyavcontrol"
version = "0.1.4"
description = "Python Control of Audio/Visual Equipment (RS232/IP)"
readme = "README.md"
license = "LICENSE"
authors = [ "Ryan Snodgrass <[email protected]>" ]
[tool.poetry.dependencies]
python = "^3.10"
pyserial = "^3.5"
pyserial-asyncio = "^0.6"
ratelimit = "^2.2.1"
pyyaml = "^6.0.1"
[tool.poetry.group.dev.dependencies]
coloredlogs = "^15.0.1"
pytest = "^8.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# pip install .[test]
[project.optional-dependencies]
test = [ "coloredlogs", "pre-commit" ]
doc = [ "sphinx" ]
[tool.isort]
profile = "black"
force_to_top = [ "logging" ]
balanced_wrapping = true
[tool.ruff]
line-length = 88
indent-width = 4
lint.ignore = [ "F403", "F405" ]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [ "F401" ]
[tool.ruff.format]
quote-style = "single" # Use a single quote instead of double
[tool.black]
line-length = 88
# NOTE: brunette does not use pyproject.toml -- see .pre-commit and .github/workflows/bruneete.yml
#[tool.brunette]
#line-length = 88
#single-quotes = true
[tool.pycln]
all = true
[tool.refurb]
python_version = "3.11"
quiet = true
ignore = [ "FURB184" ]
[tool.pylint.format]
max-line-length = "88"
[tool.pylint.FORMAT]
expected-line-ending-format = "LF"
[tool.pylint.CODE_STYLE]
max-line-length-suggestions = 90
[tool.pytest.ini_options]
pythonpath = [ "." ]