/
pyproject.toml
61 lines (54 loc) · 1.77 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
[tool.poetry]
name = "aioreactive"
version = "0.0.0" # NOTE: will be updated by publish script
description = "sync/await Reactive Tools for Python 3.11+"
readme = "README.md"
authors = ["Dag Brattli <dag@brattli.net>", "Børge Lanes"]
license = "MIT License"
repository = "https://github.com/dbrattli/aioreactive"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [{ include = "aioreactive" }, { include = "aioreactive/py.typed" }]
[tool.poetry.dependencies]
python = ">= 3.11, < 4"
typing-extensions = "^4.1.1"
Expression = "^5.0.1"
reactivex = "^4.0.0"
[tool.poetry.dev-dependencies]
pytest-asyncio = "^0.18.1"
pytest = "^7.4.4"
coverage = "^6.3.2"
coveralls = "^3.3.1"
pre-commit = "^2.17.0"
autoflake = "^1.4"
dunamai = "^1.9.0"
[tool.ruff]
# Keep in sync with .pre-commit-config.yaml
line-length = 120
# D100: Missing docstring in public module
# D104: Missing docstring in public package
# D105: Missing docstring in magic method
ignore = ["D100", "D101", "D102", "D103", "D105", "D107"]
target-version = "py310"
select = ["D", "E", "W", "F", "I", "T", "RUF", "TID", "UP"]
exclude = ["tests", "docs", "examples"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.isort]
lines-after-imports = 2
known-third-party = ["pytest"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "strict"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"