forked from BrandonLWhite/package-python-function
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (40 loc) · 1.13 KB
/
pyproject.toml
File metadata and controls
48 lines (40 loc) · 1.13 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
[project]
name = "package-python-function"
version = "0.1.0"
description = "Python script to package a Python function for deploying to AWS Lambda"
authors = [{ name = "Brandon White", email = "brandonlwhite@gmail.com" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.10,<4.0"
[project.urls]
repository = "https://github.com/BrandonLWhite/package-python-function"
[project.scripts]
package-python-function = "package_python_function.main:main"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.0"
pytest-mypy-runner = "^1.0.0"
mypy = "^1.10.0"
pytest-cov = "^6.0.0"
tomli-w = "^1.2.0"
pytest-xdist = "^3.6.1"
pytest-sugar = "^1.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
# Global pytest options, applied locally and in CI
addopts = """
-n auto \
--cov . \
--ignore=fixtures \
--ignore=expected-results \
--capture=tee-sys
"""
[tool.coverage.run]
branch = true
omit = ["*/tests/**"]
[tool.pipx-install]
poetry = "==2.1.1"
poethepoet = "==0.33.1"
[tool.poe.tasks]
test = "pytest --cov=pytest_mypy_runner --cov-report term --cov-report html --cov-report xml -n auto"