-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (114 loc) · 2.8 KB
/
pyproject.toml
File metadata and controls
130 lines (114 loc) · 2.8 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
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
[build-system]
requires = ['flit_core >=3.9,<4']
build-backend = 'flit_core.buildapi'
[project]
name = "pyos"
dynamic = ["version"]
description = "Browse python objects as if they were files on disk"
readme = "README.rst"
authors = [
{name = "Martin Uhrin", email = "martin.uhrin.10@ucl.ac.uk"}
]
license = {file = "LICENSE"}
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
keywords = ["database", "schemaless", "nosql", "orm", "object-store", "concurrent", "optimistic-locking"]
requires-python = ">=3.9"
dependencies = [
"anytree",
"cmd2 ~= 1.3.2",
"columnize",
"mincepy>=0.16.1, <0.18",
"click",
"ipython",
"pandas",
"pymongo",
"pyprnt",
"pytray >= 0.3.0",
"stevedore",
"tqdm",
"yarl"
]
[project.optional-dependencies]
gui = ["mincepy[gui]"]
dev = [
"cmd2-ext-test",
"ipython",
"jupyter-sphinx",
"nbsphinx",
"pip",
"pytest>4",
"pytest-cov",
"pre-commit",
"sphinx",
"sphinx-autobuild",
"yapf",
"pylint",
"twine"
]
[project.urls]
Documentation = "https://pyos.readthedocs.org/"
Source = "https://github.com/muhrin/pyos/"
[project.scripts]
pyos = "pyos.cli:pyos"
psh = "pyos.cli:psh_"
[project.entry-points."mincepy.plugins.types"]
pyos_types = "pyos.provides:get_types"
[tool.flit.module]
name = 'pyos'
[tool.flit.sdist]
exclude = [
'.github/',
'docs/',
'examples/',
'test/',
]
[tool.flynt]
line-length = 100
fail-on-change = true
[tool.isort]
profile = "black"
force_sort_within_sections = true
include_trailing_comma = true
line_length = 100
multi_line_output = 3
[tool.pylint.MASTER]
ignore-paths = '^src/reax/lightning/.*$' # These are copy-paste from lightning, so don't lint
[tool.pylint.format]
max-line-length = 100
[tool.pylint.messages_control]
disable = [
# Unfortunately jaxtyping decorator creates a function that seems to mistakenly be identified as
# not returning anything, so we have to disable the error below for now
'assignment-from-no-return',
'duplicate-code',
'import-outside-toplevel',
'missing-docstring',
'locally-disabled',
'too-few-public-methods',
'too-many-arguments',
'too-many-instance-attributes',
'use-dict-literal',
'fixme',
]
[tool.pylint.design]
max-locals = 20
max-branches = 14
max-returns = 8
max-positional-arguments = 8
[tool.bandit]
exclude_dirs = ["test/"]
skips = ["B101"]
[tool.black]
line-length = 100
[tool.docformatter]
wrap-summaries = 100
wrap-descriptions = 100