-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (51 loc) · 1.43 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
[tool.poetry]
name = "resql"
version = "0.1.0"
description = "A database auditing and recovery library based on SQLAlchemy"
authors = ["Gabriel Galli <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.9"
sqlalchemy = "^1.4.11"
SQLAlchemy-Utc = "^0.12.0"
[tool.poetry.dev-dependencies]
PyMySQL = "^1.0.2"
black = "^21.9b0"
commitizen = "^2.17.9"
fastapi = {extras = ["all"], version = "^0.70.0"}
freezegun = "^1.1.0"
isort = "^5.9.3"
mypy = "^0.910"
pre-commit = "^2.15.0"
psycopg2-binary = "^2.9.1"
pydantic = "^1.8.2"
pylint = "^2.11.1"
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
python-rapidjson = "^1.5"
sqlalchemy2-stubs = "^0.0.2-alpha.18"
types-freezegun = "^1.1.2"
[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 = ["rapidjson", "sqlalchemy.*"]
ignore_missing_imports = true
[tool.pylint.master]
extension-pkg-allow-list = ["pydantic", "rapidjson"]
[tool.pylint.messages-control]
disable = ["duplicate-code", "missing-class-docstring", "missing-function-docstring", "missing-module-docstring", "too-few-public-methods"]
[tool.pylint.design]
max-attributes = 10
[tool.pylint.format]
max-line-length = 120
good-names = ["_", "db", "ex", "id", "of", "pk", "to"]