-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
109 lines (97 loc) · 4.25 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[tool.poetry]
name = "async_rx"
version = "1.0.4"
description = "Rx or the observable pattern with curio async."
license = "MIT"
authors = ["Jerome Guibert <[email protected]>"]
readme = "README.md"
homepage = "https://pypi.org/project/async_rx"
documentation = "https://geronimo-iia.github.io/async-rx/"
repository = "https://github.com/geronimo-iia/async-rx"
keywords = ["async", "react", "curio", "functional", "observer", "observable"]
classifiers = [
# update this list to match your application: https://pypi.org/pypi?%3Aaction=list_classifiers
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed"
]
[tool.poetry.dependencies]
python = "^3.8"
curio = "^1"
# optional dependency to obtain typing.Protocol in python version older than 3.8
typing-extensions = { version = "^3.7.4.2", python = "<3.8" }
[tool.poetry.dev-dependencies]
black = "=19.3b0" # The uncompromising code formatter.
isort = "=4.3.4" #A Python utility / library to sort Python imports.
seed-isort-config = "^1.9"
flake8 = "^3.7.9" # the modular source code checker: pep8, pyflakes and co
flake8-2020 = "1.5.0" # flake8 plugin which checks for misuse of `sys.version` or `sys.version_info`
flake8-black = "^0.1.1" # flake8 plugin to call black as a code style validator
flake8-blind-except = "^0.1.1" # A flake8 extension that checks for blind except: statements
flake8-broken-line = "^0.1.1" # Flake8 plugin to forbid backslashes for line breaks
flake8-bugbear = "^20.1.2" # A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
flake8-builtins = "^1.4.2" # Check for python builtins being used as variables or parameters.
flake8-comprehensions = "^3.2.2" # A flake8 plugin to help you write better list/set/dict comprehensions.
flake8-debugger = "^3.2.1" # ipdb/pdb statement checker plugin for flake8
flake8-docstrings = "^1.5.0" # Extension for flake8 which uses pydocstyle to check docstrings
flake8-isort = "^2.8.0" # flake8 plugin that integrates isort .
flake8-mutable = "^1.2.0" # mutable defaults flake8 extension
flake8-pytest = "^1.3" # pytest assert checker plugin for flake8
flake8-quotes = "^2.1.1" # Flake8 lint for quotes.
flake8-string-format = "^0.2.3" # string format checker, plugin for flake8
darglint = "^1.1.2" # A utility for ensuring Google-style docstrings stay up to date with the source code.
pydocstyle = "^5.0.2" # Python docstring style checker
mypy = "*"
#pyre-check = "*"
# Unit Testing
pytest-curio = "^1.0.1"
pytest = "^6" # pytest: simple powerful testing with Python
pytest-cov = "^2" # Pytest plugin for measuring coverage.
pytest-describe = "*"
pytest-random = "*"
pytest-mock = "^3"
coverage = {version = "^5.0.3", extras = ["toml"]} # Code coverage measurement for Python
xdoctest = "^0.15.0" # A rewrite of the builtin doctest module
# Documentation
sphinx = "^2.3.1"
sphinx_rtd_theme = "^0.4.3"
m2r = "^0.2.1" # M2R converts a markdown file including reStructuredText (rst)
autodocsumm = "*"
types-setuptools = "^57.0.0"
[tool.black]
# see https://black.readthedocs.io/en/stable/
target-version = ["py38"]
skip-string-normalization = true
line_length = 160
[tool.isort]
# see https://timothycrosley.github.io/isort/
not_skip = "__init__.py"
multi_line_output = 3
known_standard_library = "dataclasses,typing_extensions"
known_first_party = "async_rx"
known_third_party = ["pkg_resources", "toml"]
combine_as_imports = true
include_trailing_comma = true
line_length = 160
use_parentheses = true
[tool.coverage.run]
# see https://coverage.readthedocs.io/en/coverage-5.0.3/config.html
branch = true
source = ["async_rx"]
omit = ["tests/*", ".venv/*", "*/__main__.py"]
[tool.coverage.report]
# see https://coverage.readthedocs.io/en/coverage-5.0.3/config.html
exclude_lines =[
"pragma: no cover",
"raise NotImplementedError"]
omit = ["tests/*", ".venv/*", "*/__main__.py"]
[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"
[tool.poetry.urls]
issues = "https://github.com/geronimo-iia/async-rx/issues"