diff --git a/pyproject.toml b/pyproject.toml index d0d17523..54da3509 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,10 +22,7 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules", ] -packages = [ - { include = "reactivex" }, - { include = "reactivex/py.typed" } -] +packages = [{ include = "reactivex" }, { include = "reactivex/py.typed" }] [tool.poetry.dependencies] python = ">= 3.7, < 4.0" @@ -37,7 +34,7 @@ pytest = "^7.0.1" coverage = "^6.3.2" pytest-xdist = "^2.5.0" black = "^22.1.0" -isort = "^5.10.1" +isort = "5.11.5" pyright = "^0.0.13" mypy = "^0.931" flake8 = "^4.0.1" @@ -53,17 +50,20 @@ 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 +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$", "reactivex/curry\\.py$"] # mypy will eventually catch up +exclude = [ + "reactivex/operators/_\\w.*\\.py$", + "reactivex/curry\\.py$", +] # mypy will eventually catch up disallow_any_generics = true disallow_untyped_defs = true @@ -75,4 +75,3 @@ asyncio_mode = "strict" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" -