forked from DARPA-CRITICALMAAS/cdr_schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (52 loc) · 1.23 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
[tool.poetry]
name = "cdr_schemas"
version = "0.1.0"
description = "CDR Schemas"
authors = []
readme = "README.md"
packages = [
{include = "cdr_schemas"},
{include = "cdr_schemas/**/*.py"}
]
[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^2.6.3"
[tool.poetry.group.dev.dependencies]
ruff = "^0.3.4"
mypy = "^1.9.0"
isort = "^5.13.2"
[tool.poetry.group.ide]
optional = true
[tool.poetry.group.ide.dependencies]
ipython = "^8.22.2"
python-lsp-server = "^1.10.1"
python-lsp-ruff = "^2.2.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
jinja2 = "^3.1.3"
pydantic-2-mermaid = "^0.7.1"
[tool.poetry.scripts]
format = "dev.script:format"
lint = "dev.script:lint"
types = "dev.script:types"
docs = "dev.docs:run"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
]