-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (69 loc) · 1.63 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
[tool.poetry]
name = "pylts"
description = "Pydantic wrapper around litestreamed database specific to an AWS bucket."
version = "0.0.9"
authors = ["Marcelino G. Veloso III <mars@veloso.one>"]
readme = "README.md"
license = "MIT"
homepage = "https://mv3.dev"
repository = "https://github.com/justmars/pylts"
documentation = "https://justmars.github.io/pylts"
classifiers = [
"Programming Language :: Python :: 3.11",
"Typing :: Typed",
"Development Status :: 4 - Beta",
"Framework :: Pytest",
"Framework :: Pydantic",
]
[tool.poetry.dependencies]
python = "^3.11"
python-dotenv = "^1.0"
pydantic = "^1.10.7"
loguru = "^0.6.0"
click = "^8.1.3"
[tool.poetry.group.dev.dependencies]
rich = "^13.3"
pytest = "^7.3"
pytest-datadir = "^1.4.1"
pytest-cov = "^2.12.1"
pre-commit = "^2.21"
mkdocs = "^1.4.2"
mkdocstrings = { extras = ["python"], version = "^0.20.0" }
mkdocs-material = "^9.0.15"
ipython = "^8.11.0"
ipykernel = "^6.22.0"
[tool.pytest]
minversion = "7.2"
addopts = "-ra -q --cov=pylts tests/"
testpaths = ["tests"]
[tool.pytest.ini_options]
minversion = "7.2"
addopts = "-ra -q --doctest-modules --cov"
filterwarnings = [
"ignore::DeprecationWarning", # DeprecationWarning: pkg_resources is deprecated as an API
]
testpaths = ["tests", "pylts"]
[tool.ruff]
ignore = ["F401"]
fixable = ["F", "E", "W", "I001"]
select = ["F", "E", "W", "I001"]
[tool.black]
target-version = ['py311']
line-length = 79
include = '.pyi?$'
exclude = '''
/(
.git
| .hg
| .mypy_cache
| .tox
| .venv
| _build
| buck-out
| build
| dist
)/
'''
[build-system]
requires = ["poetry-core>=1.3.2"]
build-backend = "poetry.core.masonry.api"