-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (45 loc) · 1.22 KB
/
pyproject.toml
File metadata and controls
56 lines (45 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
[tool.poetry]
name = "package-name"
version = "1.4.0"
description = "Package description"
license = "MIT"
authors = ["Author Name <author.email@example.com>"]
readme = "README.md"
packages = [
{ include = "package_name", "from" = "src" }
]
repository = "https://github.com/github-user/package-name"
keywords = ["Package Name"]
classifiers = [
"Topic :: Education",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
]
[tool.poetry.dependencies]
python = "^3.11"
requests = "^2.31.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
pylint = "^2.17.5"
[tool.black]
line-length = 100
[tool.pylint.main]
score = "n"
no-docstring-rgx = "^_|^test_"
[tool.pylint."messages control"]
disable = ["missing-module-docstring"]
[tool.pytest.ini_options]
minversion = "7.4.0"
pythonpath = "src"
testpaths = ["tests/unit", "tests/integration"]
addopts = "-vv --import-mode=importlib"
[tool.poetry.scripts]
package-name = "package_name.cli:run"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"