-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (56 loc) · 1.49 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (56 loc) · 1.49 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
60
61
62
63
64
65
66
67
68
[tool.poetry]
name = "python_pyenv_poetry_template"
version = "0.9.2"
description = "A GitHub template for Python projects using Pyenv and Poetry"
authors = [ "Fabio Calefato <fcalefato@gmail.com>",]
readme = "README.md"
repository = "https://github.com/bateman/python_pyenv_poetry_template"
license = "MIT"
[build-system]
requires = [ "poetry-core",]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.12"
rich = "*"
pretty-errors = "*"
tomlkit = "*"
[tool.poetry.group.dev.dependencies]
ruff = "*"
mypy = "*"
pre-commit = "*"
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-cov = "*"
[tool.poetry.group.docs.dependencies]
mkdocs = "*"
mkdocs-material = "*"
mkdocstrings = "*"
mkdocs-autorefs = "*"
mkdocstrings-python = "*"
markdown-callouts = "*"
pygments = "^2.17.2"
pymdown-extensions = "^10.7.1"
[tool.mypy]
ignore_missing_imports = true
[tool.ruff]
fix = true
line-length = 88
indent-width = 4
[tool.ruff.lint]
fixable = ["ALL"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
extend-select = [ "I", "D", "S"]
ignore = [ "D203", "D211", "D213", "D406", "D407", "D413"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = 60
[tool.ruff.lint.pycodestyle]
max-doc-length = 88
[tool.pytest.ini_options]
addopts = [ "--cov-fail-under=5", "--cov-report=term-missing", ]