-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
130 lines (112 loc) · 2.95 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
121
122
123
124
125
126
127
128
129
130
[tool]
[tool.poetry]
name = "rframe"
version = "0.2.21"
homepage = "https://github.com/jmosbacher/rframe"
description = "Top-level package for rframe."
authors = ["Yossi Mosbacher <[email protected]>"]
readme = "README.rst"
license = "MIT"
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.8',
]
packages = [
{ include = "rframe" },
{ include = "tests", format = "sdist" },
]
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
pydantic = "^1.9.0"
pandas = "*"
toolz = "^0.11.2"
requests = "^2.27.1"
makefun = "^1.13.1"
loguru = "^0.6.0"
jsonschema = "^4.4.0"
fsspec = "^2022.2.0"
plum-dispatch = "^1.5.9"
[tool.poetry.dev-dependencies]
bumpversion = "*"
coverage = "*"
flake8 = "*"
isort = "*"
pylint = "*"
pytest = "*"
sphinx = "*"
tox = "*"
yapf = "*"
sphinx-material = "*"
nbsphinx = "*"
invoke = "^1.6.0"
hypothesis = "^6.37.2"
pymongo = "<4.0"
black = "^22.1.0"
fastapi = "^0.75.0"
coveralls = "^3.3.1"
tinydb = "^4.7.0"
pytest-cov = "^3.0.0"
rstcheck = "^3.3.1"
mypy = "^0.942"
perflint = "^0.7.1"
[tool.poetry.scripts]
rframe = 'rframe.cli:main'
[tool.poetry.plugins]
[tool.poetry.plugins."hypothesis"]
"_" = "rframe._hypothesis_plugin"
[build-system]
requires = ["poetry-core>=1.0.8", "setuptools"]
build-backend = "poetry.core.masonry.api"
[tool.dephell.main]
versioning = "semver"
from = {format = "poetry", path = "pyproject.toml"}
to = {format = "setuppy", path = "setup.py"}
[tool.poe.tasks]
[tool.poe.tasks.format]
help = "Run black on the code base"
cmd = "black ."
[tool.poe.tasks.clean]
help = "Remove generated files"
cmd = """
# multiline commands including comments work too!
rm -rf .coverage
.mypy_cache
.pytest_cache
./**/__pycache__
dist
htmlcov
./tests/fixtures/simple_project/venv
./tests/fixtures/venv_project/myvenv
./tests/temp
"""
[tool.poe.tasks.test]
help = "Run unit and feature tests"
cmd = "pytest --cov=rframe"
[tool.poe.tasks.test-quick]
help = "Run unit and feature tests, excluding slow ones"
cmd = "pytest --cov=rframe -m \"not slow\""
[tool.poe.tasks.types]
help = "Run the type checker"
cmd = "mypy rframe --ignore-missing-imports --install-types"
[tool.poe.tasks.lint]
help = "Run the linter"
cmd = "pylint rframe"
[tool.poe.tasks.style]
help = "Validate code style"
cmd = "black . --check --diff"
[tool.poe.tasks.check-docs]
help = "Validate rst syntax in the docs"
cmd = "rstcheck README.rst"
[tool.poe.tasks.check]
help = "Run all checks on the code base"
sequence = ["check-docs", "style", "types", "lint", "test"]
[tool.poe.tasks.bump]
help = "Bump version"
cmd = "bump2version"
[[tool.poe.tasks.bump.args]]
name = "version"
help = "major/minor/patch or explicit version"
default = "patch"