-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (47 loc) · 1.22 KB
/
pyproject.toml
File metadata and controls
56 lines (47 loc) · 1.22 KB
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
[project]
name = "Python Project Template"
authors = ["Ho Nghia Khang <hnkhang.dev@gmail.com>"]
readme = "README.md"
version = "0.1.0"
description = "A Template for AI module build with python!"
# Poetry is tool for publish your module to PYPI
[tool.poetry]
name = "Python Project Template"
authors = ["Ho Nghia Khang <hnkhang.dev@gmail.com>"]
version = "0.1.0"
readme = "README.md"
description = "A Template for AI module build with python!"
repository = "https://github.com/KudoKhang/python-project-template"
packages = [{include = "python_package_template"}]
[tool.poetry.dependencies]
python = "^3.8.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 127
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
# Ignore warnings when testing
addopts = "-p no:warnings" # ignore PendingDeprecationWarning
filterwarnings = [
"error",
"ignore::UserWarning",
# note the use of single quote below to denote "raw" strings in TOML
'ignore:function ham\(\) is deprecated:DeprecationWarning',
]