-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
79 lines (66 loc) · 1.82 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sienna-griddb"
dynamic = ["version"]
description = ''
readme = "README.md"
requires-python = ">=3.8"
keywords = []
authors = [
{ name = "Joseph McKinsey", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"pydantic>=2,<3",
"sqlalchemy>=2,<3",
]
[project.optional-dependencies]
dev = ["pytest>=7.2.1", "pytest-cov", "ruff", "pre-commit"]
docs = ["sphinx>=7", "myst-parser", "sphinx_math_dollar", "nbsphinx"]
# Setuptools configuration
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["sienna_database_gen"]
# Setuptools configuration
[tool.setuptools.dynamic]
readme = { file = ["README.md"], content-type = "text/markdown" }
[tool.setuptools.package-data]
"*" = ["*.json", "*.csv", "*.sql"]
# Linter + formatter configuration
[tool.black]
line-length = 90
[tool.ruff]
line-length = 92
[tool.lint]
select = [
"E", # pycodestyle
"TD", # flake-8 todos
"PD", # pandas vet
"RUF", # Ruff rules
"N", # pep8
"F", # pyflakes
"UP", # pyupgrade
"D", # pydocstyle
]
# Allow unused variables when underscore-prefixed.
#dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
#exclude = ["tests"]
# Assume Python 3.10.
target-version = "py39"
[tool.lint.pydocstyle]
convention = "numpy"
[tool.sqlfluff.core]
dialect = "postgres"