This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
74 lines (65 loc) · 1.88 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
# Poetry pyproject.toml: https://python-poetry.org/docs/pyproject/
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "mongomantic"
version = "0.4.2"
description = "A MongoDB Python ORM, built on Pydantic and PyMongo."
readme = "README.md"
authors = [
"mongomantic <[email protected]>"
]
license = "MIT"
repository = "https://github.com/RamiAwar/mongomantic"
homepage = "https://github.com/RamiAwar/mongomantic"
# Keywords description https://python-poetry.org/docs/pyproject/#keywords
keywords = [] # Update me
# Pypi classifiers: https://pypi.org/classifiers/
classifiers = [ # Update me
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.scripts]
# Entry points for the package https://python-poetry.org/docs/pyproject/#scripts
"mongomantic" = "mongomantic.__main__:app"
[tool.poetry.dependencies]
python = "^3.7"
importlib_metadata = {version = ">=1.6,<5.0", python = "<3.8"}
rich = "^9.8.2"
bson = "^0.5.10"
pydantic = "^1.8.1"
pymongo = "^3.11.3"
requests = "^2.25.1"
wily = "^1.19.0"
[tool.poetry.dev-dependencies]
darglint = "^1.5.8"
isort = "^5.7.0"
pyupgrade = "^2.13.0"
black = "^21.4b0"
mypy = "^0.790"
bandit = "^1.7.0"
safety = "^1.10.3"
pytest = "^6.2.1"
pylint = "^2.8.2"
pydocstyle = "^6.0.0"
pre-commit = "^2.12.1"
mongomock = "^3.22.1"
flake8 = "^3.9.0"
[tool.black]
# https://github.com/psf/black
line-length = 120
target-version = ["py38"]
[tool.isort]
# https://github.com/timothycrosley/isort/
known_typing = "typing,types,typing_extensions,mypy,mypy_extensions"
sections = "FUTURE,TYPING,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
include_trailing_comma = true
default_section = "FIRSTPARTY"
multi_line_output = 3
indent = 4
force_grid_wrap = 0
use_parentheses = true
line_length = 120