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 76 77 78 79
|
[tool.poetry]
name = "reactivex"
version = "0.0.0" # NOTE: will be updated by publish script
description = "ReactiveX (Rx) for Python"
readme = "README.rst"
authors = ["Dag Brattli <dag@brattli.net>"]
license = "MIT License"
homepage = "http://reactivex.io"
repository = "https://github.com/ReactiveX/RxPY"
documentation = "https://rxpy.readthedocs.io/en/latest/"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "reactivex" },
{ include = "reactivex/py.typed" }
]
[tool.poetry.dependencies]
python = ">= 3.8, < 4.0"
typing-extensions = "^4.1.1"
[tool.poetry.group.test.dependencies]
pyyaml = "6.0.2"
pytest-asyncio = "^0.18.1"
pytest = "^7.0.1"
coverage = "^6.3.2"
pytest-xdist = "^2.5.0"
black = "^22.1.0"
isort = "^5.10.1"
pyright = "^0.0.13"
mypy = "^0.931"
flake8 = "^4.0.1"
coveralls = "^3.3.1"
pre-commit = "^2.17.0"
autoflake = "^1.4"
dunamai = "^1.9.0"
[tool.black]
line-length = 88
target_version = ['py39']
include = '\.py$'
[tool.isort]
profile = "black"
line_length=88 # corresponds to -w flag
multi_line_output=3 # corresponds to -m flag
include_trailing_comma=true # corresponds to -tc flag
skip_glob = '^((?!py$).)*$' # isort all Python files
float_to_top=true
[tool.mypy]
python_version = "3.9"
follow_imports = "silent"
files = ["reactivex"]
exclude = ["reactivex/operators/_\\w.*\\.py$"] # mypy will eventually catch up
disallow_any_generics = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "strict"
#addopts = "-n auto"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
|