-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
69 lines (58 loc) · 1.55 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
[tool.poetry]
name = "pydantic-glue"
keywords = ["pydantic", "glue", "athena", "types", "convert"]
version = "0.6.0"
description = "Convert pydantic model to aws glue schema for terraform"
authors = ["Serhii Dimchenko <[email protected]>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/svdimchenko/pydantic-glue"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/svdimchenko/pydantic-glue/issues"
"Releases" = "https://github.com/svdimchenko/pydantic-glue/releases"
[tool.poetry.scripts]
pydantic-glue = "pydantic_glue.cli:cli"
[tool.poetry.dependencies]
python = "^3.9"
jsonref = "^1.1.0"
pydantic = "^2.7.1"
[tool.poetry.group.dev.dependencies]
autoflake = "^2.3.1"
pytest = "^8.2.0"
mypy = "^1.10.0"
flake8 = "^7.0.0"
black = "^24.4.2"
isort = "^5.13.2"
pre-commit = "^3.7.0"
[tool.autoflake]
recursive = true
in-place = true
remove-all-unused-imports = true
remove-unused-variables = true
[tool.black]
line-length = 120
target-version = ['py39', 'py310', 'py311', 'py312']
include = '\.pyi?$'
[tool.flake8]
files = '.*\.py'
max-line-length = 120
exclude = ['.git', '.eggs', '__pycache__', 'venv', '.venv']
ignore = [
# space before: (needed for how black formats slicing)
'E203',
# line break before binary operator (needed for how black formats long lines)
'W503'
]
[tool.isort]
profile = 'black'
src_paths = ['athena_udf', 'test']
[tool.pytest.ini_options]
testpaths = [
"tests"
]
[tool.mypy]
ignore_missing_imports = true
strict = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"