-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
71 lines (58 loc) · 2.26 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "sibilant"
description = "sibilant makes python communicate over VoIP"
authors = [
{name = "abk16", email = "[email protected]"}
]
version = "0.3.3"
requires-python = ">=3.8"
license = {text = "MPL-2.0"}
readme = "README.md"
dynamic = ["dependencies"]
[project.urls]
"Homepage" = "https://github.com/andreabak/sibilant"
[tool.setuptools]
license-files = ["LICENSE"]
include-package-data = true
[tool.setuptools.packages.find]
include = ["sibilant*"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.ruff]
fix = true
ignore-init-module-imports = true
select = ["F", "E", "W", "I", "N", "D", "UP", "ASYNC", "S", "BLE", "FBT", "B", "C4", "DTZ", "T10", "EXE", "ISC003", "ICN", "G010", "G1", "G2", "PIE", "T20", "PT", "Q", "RSE", "RET", "SLF", "SLOT", "SIM", "TID", "INT", "TCH", "INT", "ARG", "PTH", "TD", "FIX", "ERA", "PGH", "PL", "TRY", "FLY", "NPY", "PERF", "FURB", "LOG", "RUF"]
ignore = ["F403", "N816", "N818", "D105", "D107", "D203", "D212", "D205", "D400", "C408", "RET505", "TD001", "TD002", "TD003", "TRY003", "TRY200", "TRY301", "S101", "S104", "S311", "S324", "PLW0602", "PGH004", "PLW1641", "FBT003", "PTH123", "ARG002", "ARG003", "PT011", "PT012"]
show-fixes = true
preview = true
[tool.ruff.per-file-ignores]
"tests/**" = ["D", "S", "T", "SLF001", "PLR2004", "PLR6301"]
[tool.ruff.pycodestyle]
ignore-overlong-task-comments = true
max-line-length = 100
[tool.ruff.isort]
combine-as-imports = true
lines-after-imports = 2
[tool.ruff.flake8-self]
ignore-names = ["_name_", "_value_", "_wrapped_value_", "_dtcls_value_", "_time_cache_expiry", "_track_call", "_untrack_call", "_send_msg", "_track_future", "_track_dialog", "_untrack_dialog", "_schedule"]
[tool.ruff.pylint]
max-args = 10
max-bool-expr = 8
max-branches = 20
max-returns = 8
max-public-methods = 30
max-statements = 70
allow-dunder-method-names = ["__registry_new_for__", "__registry_get_class_for__"]
[tool.mypy]
show_error_codes = true
ignore_missing_imports = true
warn_return_any = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
plugins = ["numpy.typing.mypy_plugin"]
[tool.pytest.ini_options]
addopts = "-vrxPs --cov=sibilant"