-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (65 loc) · 1.78 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
[tool]
[tool.poetry]
name = "pycommons.lang"
version = "0.0.0"
homepage = "https://github.com/shashankrnr32/pycommons-lang"
description = "Python Commons Lang"
authors = ["Shashank Sharma <[email protected]>"]
readme = "README.md"
license = "Apache-2.0"
classifiers = [
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
packages = [
{ include = "pycommons" }
]
include = [
"LICENSE",
"pycommons/py.typed"
]
[tool.poetry.dependencies]
python = "^3.8"
importlib_metadata = "*"
pycommons-base = "0.0.6"
[tool.poetry.dev-dependencies]
mkdocs-material = ">7.0.0"
mkdocstrings = { version = ">0.18", extras = ["python-legacy"] }
mkdocs-awesome-pages-plugin = "*"
markdown-include = "*"
livereload = "*"
poethepoet = "^0.20.0"
pytest = ">=7.2.0"
pytest-cov = "^2.10.1"
mockito = "1.4.0"
pylint = "^2.6.0"
black = "22.3.0"
mypy = "0.960"
[tool.black]
line-length = 100
[tool.pylint.reports]
output-format = "colorized"
reports = "y"
msg-template = "{msg_id}:{line:3d},{column}: {obj}: {msg}"
disable = "C0103, C0116, C0114, C0115, R0801, R0903"
max-public-methods = 50
max-args = 8
max-locals = 20
min-public-method = 0
[tool.pytest.ini_options]
addopts = "--cov=pycommons --cov-branch --cov-report term-missing --cov-report xml -vv --color=yes --cov-fail-under 50"
python_files = "tests.py test_*.py *_tests.py *Test.py"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.mypy.overrides]
module = "pycommons.lang"
implicit_reexport = true
[tool.poe.tasks]
test = "pytest"
lint = "pylint pycommons/ tests/"
black = "black ."
mypy = "mypy --namespace-packages -p pycommons.lang --strict --config-file=mypy.ini"
docs = "mkdocs serve"