This repository was archived by the owner on May 26, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
59 lines (51 loc) · 1.17 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
57
58
59
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "project_name"
version = "0.1.0"
description = "project_description"
readme = "README.md"
requires-python = ">=3.8"
authors = [
{ name = "author_name", email = "author_email@exemplo.com" }
]
dependencies = [
"ruff>=0.7.1",
]
[project.urls]
homepage = "https://github.com/author_name/project_urlname/"
# Dependências de produção (adicione suas dependências aqui quando necessário)
[dependency-groups]
dev = []
# Scripts de entrada
[project.scripts]
project_name = "project_name.__main__:main"
# Dependências opcionais para desenvolvimento e testes
[project.optional-dependencies]
test = [
"pip-tools",
"pytest",
"coverage",
"flake8",
"black",
"isort",
"pytest-cov",
"mypy",
"gitchangelog",
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q -vv"
pythonpath = ["/tests"]
[tool.ruff]
line-length = 79
indent-width = 4
target-version = "py310"
[tool.taskipy.tasks]
lint = "uvx ruff check tests"
test = """
uv run --extra test pytest -s
uv run --extra test coverage xml
uv run --extra test coverage html
"""