Skip to content

Commit

Permalink
Testing whether isort would be fixed by this
Browse files Browse the repository at this point in the history
  • Loading branch information
mat committed Feb 7, 2023
1 parent f143428 commit dcbedd4
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions pyproject.toml
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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

Expand All @@ -75,4 +75,3 @@ asyncio_mode = "strict"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit dcbedd4

Please sign in to comment.