-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
120 lines (106 loc) · 3.17 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
110
111
112
113
114
115
116
117
118
119
120
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.poetry]
name = "papermill-origami"
version = "0.0.30"
description = "The noteable API interface"
authors = ["Matt Seal <[email protected]>"]
maintainers = ["Matt Seal <[email protected]>"]
license = "BSD-3-Clause"
readme = "README.md"
repository = "https://github.com/noteable-io/papermill-origami"
# old setup.cfg had a bdist_wheel option.
# To build a wheel, use poetry build -f wheel
keywords = ["notebook", "api", "noteable"]
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
]
# Manifest.in is subsumed by poetry here
# https://python-poetry.org/docs/pyproject/#include-and-exclude
include = []
[[tool.poetry.source]]
name = "papermill-origami"
url = "https://pypi.org"
[tool.poetry.dependencies]
python = "^3.8"
noteable-origami = "^0.0.35"
papermill = "^2.4.0"
dagstermill = {version = "^0.17.6", optional = true}
cloudpickle = "^2.2.0"
flytekit = {version = "^1.2.1", optional = true}
flytekitplugins-papermill = {version = "^1.2.1", optional = true}
apache-airflow = { version = "^2.4.2", optional = true }
prefect-jupyter = { version = "^0.2.0", optional = true }
[tool.poetry.dev-dependencies]
flake8-docstrings = "^1.6.0"
pytest-httpx = "^0.21.0"
black = {version = "^22.3.0", allow-prereleases = true}
isort = "^5.10.1"
boto = "^2.49.0"
notebook = "^6.4.11"
pytest = "^7.1.2"
pytest-cov = "^4.0.0"
pytest-asyncio = "^0.19.0"
nox = "^2022.1.7"
nox-poetry = "^1.0.0"
pytest-mock = "^3.8.2"
bump2version = "^1.0.1"
[tool.poetry.extras]
dagster = ["dagstermill"]
flyte = ["flytekit", "flytekitplugins-papermill"]
airflow = ["apache-airflow"]
prefect = ["prefect-jupyter"]
[tool.poetry.plugins."papermill.io"]
"noteable://" = "papermill_origami.iorw:NoteableHandler"
"https://" = "papermill_origami.iorw:NoteableHandler"
[tool.poetry.plugins."papermill.engine"]
noteable = "papermill_origami.engine:NoteableEngine"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| migrations
| src/nbformat
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''
skip-string-normalization = true
[tool.isort]
line_length = 100
multi_line_output = 3
include_trailing_comma = true
known_third_party = []
[tool.coverage.run]
branch = false
omit = ["papermill_origami/_version.py", "*/tests/*"]
[tool.coverage.report]
exclude_lines = ["if self.debug:",
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == '__main__':"]
ignore_errors = true
omit = ["papermill_origami/_version.py"]