-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (59 loc) · 1.56 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
[project]
name = "template-python-project"
version = "0.1.0"
description = "Esse repositório foi criado com o propósito de servir como um template de um projeto Python."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"mypy>=1.11.2",
"ruff>=0.6.7",
"taskipy>=1.13.0",
]
[tool.uv]
dev-dependencies = [
"interrogate>=1.7.0",
"mkdocs-glightbox>=0.4.0",
"mkdocs-material>=9.5.36",
"mkdocstrings-python>=1.11.1",
"mkdocstrings>=0.26.1",
"pre-commit>=3.8.0",
"pytest-cov>=5.0.0",
"pytest-randomly>=3.15.0",
"pytest>=8.3.3",
]
[tool.interrogate]
ignore-init-method = false
ignore-init-module = true
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = true
ignore-module = true
ignore-nested-functions = false
ignore-nested-classes = true
ignore-setters = false
exclude = ["setup.py", "docs", "build", "bitbucket", "test", "*exceptions.py"]
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
verbose = 0
quiet = false
whitelist-regex = []
color = true
omit-covered-files = false
generate-badge = "docs/assets/"
badge-format = "svg"
[tool.taskipy.tasks]
docs = 'mkdocs serve'
format = 'ruff check . --fix && ruff format .'
interrogate = 'interrogate -vv'
lint = 'ruff check . && ruff check . --diff'
pre-commit = 'pre-commit run'
test = 'uv run pytest -vv --cov --randomly-seed=last'
[tool.ruff]
line-length = 120
extend-exclude = ['migrations', '.venv']
[tool.ruff.format]
preview = true
quote-style = 'single'
[tool.ruff.lint]
preview = true
select = ['I', 'F', 'E', 'W', 'PL', 'PT']