-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
73 lines (60 loc) · 1.7 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
[tool.poetry]
name = "xtdb"
version = "0.6.2"
packages = [{ include = "xtdb" }]
include = ["xtdb/**"]
exclude = [
"**/.idea",
"**/.git*",
"**/.*ignore",
"**/.flake8",
"**/.djlintrc",
"**/.editorconfig",
"**/Dockerfile*",
"**/Makefile",
"**/__pycache__",
]
authors = ["Donny Peeters <donny.peeters@hotmail.com>"]
maintainers = ["Donny Peeters <donny.peeters@hotmail.com>"]
description = "A Python ORM for XTDB."
readme = "README.md"
homepage = "https://github.com/Donnype/xtdb-py"
repository = "https://github.com/Donnype/xtdb-py"
[tool.poetry.dependencies]
python = "^3.8"
requests = "^2.26.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
pre-commit = "^3.2.2"
[tool.poetry.group.docs.dependencies]
sphinx = "~6.1.3"
sphinx-rtd-theme = "~1.2.2"
myst-parser = "~1.0.0"
[tool.black]
target-version = ["py38"]
line-length = 120
[tool.vulture]
min_confidence = 90
exclude = ["/tests/", "*venv*"]
paths = ["."]
[tool.ruff]
# Enable classic flake8, pyflakes, eradicate, and tidyimport
# To be extended with DJ, PT, RUF, C90, D, PL, RET
select = ["E", "F", "ERA", "W", "TID", "I", "G", "INP", "T20", "UP", "ISC", "PTH", "SIM", "PLC", "A"]
# non-pep585-annotation and non-pep604-annotation are not actually compatible with 3.8
ignore = ["UP006", "UP007", "A003", "T201", "T203"]
fix = true
# Same as Black.
line-length = 120
# Support Python 3.8 and higher
target-version = "py38"
# Add "Example" to allowed code comments
task-tags = ["Example", "todo", "TODO", "FIXME"]
[tool.ruff.per-file-ignores]
"conf.py" = ["INP", "PTH", "A"]
[tool.codespell]
ignore-words-list = 'edn,juxt,Nomes'
skip = '*.csv'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"