This repository was archived by the owner on Mar 27, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (84 loc) · 2.26 KB
/
pyproject.toml
File metadata and controls
93 lines (84 loc) · 2.26 KB
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
[tool.poetry]
name = "stupidb"
version = "7.0.4"
packages = [{ include = "stupidb" }]
homepage = "https://github.com/cpcloud/stupidb"
repository = "https://github.com/cpcloud/stupidb"
documentation = "https://stupidb.readthedocs.io"
description = "The stupidest of all the databases."
authors = ["Phillip Cloud <cpcloud@gmail.com>"]
maintainers = ["Phillip Cloud <cpcloud@gmail.com>"]
license = "Apache-2.0"
readme = "README.md"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[tool.poetry.dependencies]
python = ">=3.9,<3.11"
atpublic = ">=2.3,<4"
toolz = ">=0.11,<1"
pydot = { version = ">=1.4.2,<2", optional = true }
tabulate = ">=0.8.9,<1"
[tool.poetry.dev-dependencies]
Sphinx = ">=4.2.0,<5"
black = ">=22,<23"
coverage = ">=6,<7"
flake8 = ">=4.0.1,<5"
isort = ">=5.9.3,<6"
mypy = ">=0.950,<1"
pydocstyle = ">=6.1.1,<7"
pytest = ">=7,<8"
pytest-cov = ">=3,<4"
pytest-randomly = ">=3.10.1,<4"
pytest-xdist = ">=2.3.0,<3"
pyupgrade = ">=2.28.1,<3"
sphinx-autodoc-typehints = ">=1.12.0,<2"
[tool.poetry.extras]
animation = ["pydot"]
[tool.pytest.ini_options]
xfail_strict = true
addopts = [
"--ignore=site-packages",
"--ignore=dist-packages",
"--ignore=.direnv",
"--strict-markers",
"--doctest-modules",
]
markers = ["animate"]
norecursedirs = ["site-packages", "dist-packages", ".direnv"]
[tool.black]
line_length = 88
[tool.isort]
line_length = 88
profile = "black"
[tool.pydocstyle]
convention = "numpy"
add_ignore = ["D105", "D213", "D203"]
match-dir = "stupidb"
[tool.mypy]
exclude = "docs/conf\\.py"
ignore_missing_imports = true
# untyped things
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
# Any handling
disallow_any_unimported = false
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_generics = false
disallow_subclassing_any = false
# None/Optional handling
no_implicit_optional = true
# show more context on failure
show_error_context = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"