generated from prismaticd/prismatic-package
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (72 loc) · 1.76 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
75
76
77
78
79
80
81
[tool.poetry]
name = "pydantic-persistence"
version = "0.0.1"
description = ""
authors = ["Benoit Chabord <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/prismaticd/pydantic-persistence"
repository = "https://github.com/prismaticd/pydantic-persistence"
documentation = "https://pydantic-persistence.readthedocs.io"
[tool.poetry.dependencies]
python = ">=3.7,<4.0'"
pydantic = "~1.6.1"
[tool.poetry.dev-dependencies]
pytest = "^6.1"
coverage = {extras = ["toml"], version = "^5.0.1"}
pytest-cov = "^2.8.1"
pytest-mock = "^3.0.0"
flake8 = "^3.7.9"
black = "^20.8b1"
flake8-black = "^0.2.1"
flake8-bugbear = "^20.1.2"
flake8-bandit = "^2.1.2"
safety = "^1.8.5"
mypy = "^0.782"
typeguard = "^2.7.1"
flake8-docstrings = "^1.5.0"
darglint = "^1.1.2"
xdoctest = "^0.15.0"
sphinx = "^3.0.1"
sphinx-autodoc-typehints = "^1.10.3"
codecov = "^2.0.15"
nox = "^2020.8.22"
bump2version = "^1.0.0"
isort = "^5.5.3"
pre-commit = "^2.7.1"
[tool.coverage.paths]
source = ["pydantic_persistence", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["pydantic_persistence"]
[tool.coverage.report]
show_missing = true
fail_under = 100
[tool.black]
line-length = 120
target-version=["py37", ]
include = '\.pyi?$'
# see help text for default exclude
exclude = '''/(
# black defaults from --help (see also https://github.com/ambv/black#configuration-format )
\.git
| \.hg
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# project specific exclusions
| node_modules
)/
'''
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.isort]
line_length = 120
skip = ["node_modules", "migrations"]
known_third_party = ["tests", "pydantic"]