forked from tiangolo/pydantic-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (55 loc) · 1.59 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
[tool.poetry]
name = "alchemista"
version = "0.3.0"
description = "Tools to convert SQLAlchemy models to Pydantic models"
license = "MIT"
authors = ["Gabriel Galli <[email protected]>"]
readme = "README.md"
repository = "https://github.com/ggabriel96/alchemista"
[tool.poetry.dependencies]
pydantic = "^1.8.1"
python = "^3.8"
SQLAlchemy = "^1.4.14"
Deprecated = "^1.2.12"
[tool.poetry.dev-dependencies]
black = "^21.6b0"
isort = "^5.8.0"
mypy = "^0.902"
pre-commit = "^2.12.1"
pylint = "^2.8.3"
pytest = "^6.2.4"
pytest-cov = "^2.11.1"
SQLAlchemy-Utc = "^0.12.0"
sqlalchemy2-stubs = "^0.0.1-alpha.10"
python-semantic-release = "^7.15.5"
commitizen = "^2.17.8"
types-Deprecated = "^0.1.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
[tool.mypy]
plugins = ["pydantic.mypy", "sqlalchemy.ext.mypy.plugin"]
pretty = true
show_error_codes = true
strict = true
[[tool.mypy.overrides]]
module = ["sqlalchemy.*", "sqlalchemy_utc.*"]
ignore_missing_imports = true
[tool.pylint.master]
extension-pkg-allow-list = ["pydantic"]
[tool.pylint.messages-control]
disable = ["duplicate-code", "missing-class-docstring", "missing-function-docstring", "missing-module-docstring", "too-few-public-methods"]
[tool.pylint.format]
max-line-length = 120
good-names = ["_", "db", "ex", "id", "of", "pk", "to"]
[tool.semantic_release]
branch = "main"
build_command = "poetry build"
commit_author = "github-actions <[email protected]>"
major_on_zero = false
version_toml = "pyproject.toml:tool.poetry.version"