-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (89 loc) · 2.33 KB
/
pyproject.toml
File metadata and controls
99 lines (89 loc) · 2.33 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[project]
name = "python-project-template"
version = "2.6.2"
description = "Python project template"
authors = [
{name = "Daniel Bazo Correa", email = "none@none.com"},
]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
keywords = ["python", "template"]
dependencies = [
"cookiecutter==2.7.1",
]
[tool.uv]
default-groups = "all"
cache-keys = [{ file = "pyproject.toml" }, { git = { commit = true } }]
environments = [
"sys_platform == 'linux'",
]
required-environments = [
"sys_platform == 'linux' and platform_machine == 'x86_64'"
]
[dependency-groups]
pipeline = [
"complexipy==5.2.0",
"mypy==1.19.1",
"ruff==0.15.5",
"isort==8.0.1",
"pytest==9.0.2"
]
documentation = [
"mkdocs==1.6.1",
"mkdocs-material==9.7.5",
"mkdocs-git-revision-date-localized-plugin==1.5.1",
"mkdocs-git-authors-plugin==0.10.0",
"mkdocs-enumerate-headings-plugin==0.6.2",
"mkdocs-awesome-nav==3.3.0",
"mike==2.1.4"
]
[tool.ruff]
line-length = 88
indent-width = 4
extend-exclude = ["*.ipynb", "{{*}}"]
[tool.ruff.lint]
select = ["E", "F", "UP", "B", "SIM"]
ignore = ["E203"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = 88
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
explicit_package_bases = true
exclude = [
"^(build|dist|venv)",
".venv/",
"{{ cookiecutter.project_name }}",
]
cache_dir = "/dev/null"
[tool.complexipy]
exclude = ["{{ cookiecutter.project_name }}"]
[tool.isort]
profile = "black"
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
import_heading_stdlib = "Standard libraries"
import_heading_thirdparty = "3pps"
import_heading_firstparty = "Own modules"
import_heading_localfolder = "Own modules"
line_length = 88
include_trailing_comma = true
combine_as_imports = true
skip_glob = [".venv/*", ".uv-cache/*"]
[tool.deadcode]
exclude = [".venv", ".uv-cache", "tests"]