-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
48 lines (43 loc) · 1.14 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
[tool.yapf]
based_on_style = "pep8"
column_limit = 94
spaces_before_comment = 4
[tool.ruff]
tab-size = 4
line-length = 94
select = [ ## ref: https://beta.ruff.rs/docs/rules/
"E", # pycodestyle Error
"W", # pycodestyle Warning
"I", # isort
"F", # Pyflakes
"A", # flake8-builtins
"B", # flake8-bugbear
"Q", # flake8-quotes
"C4", # flake8-comprehensions
"COM", # flake8-commas
"SIM", # flake8-simplify
]
ignore = [ ## ref: https://pep8.readthedocs.io/en/release-1.7.x/intro.html#error-codes
"E266", # too many leading ‘#’ for block comment
"E731", # do not assign a lambda expression, use a def
"I001", # Import block is un-sorted or un-formatted
]
src = ["."]
[tool.ruff.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"
docstring-quotes = "single"
[tool.poetry]
name = "ipwebcam_cli"
version = "0.1.0"
description = "tool to use IPWebcam as v4l2 webcam or microphone"
authors = ["giskard <rtgiskard@gmail.com>"]
license = "GPLv3"
readme = "readme.adoc"
[tool.poetry.dependencies]
python = "^3.11"
pydantic = "^2.5.3"
requests = "^2.31.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"