-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (91 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
104 lines (91 loc) · 1.66 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
100
101
102
103
104
[build-system]
requires = [
"hatchling",
"hatch-vcs",
]
build-backend = "hatchling.build"
[project]
name = "python-template"
description = ""
requires-python = ">=3.12"
authors = [
{ name = "Scott Chase Waggener", email = "chase.waggener@icloud.com" },
]
dependencies = []
readme = "README.md"
dynamic = [
"version",
]
[dependency-groups]
dev = [
"autoflake",
"autopep8",
"black",
"flake8",
"isort",
"pyright",
"pytest",
"pytest-mock",
"pytest-cov",
"pytest-env",
"coverage",
"pdbpp",
]
[project.license]
text = "Apache"
[project.optional-dependencies]
[tool.autoflake]
remove-all-unused-imports = true
remove-unused-variables = true
exclude = [
"**/_version.py",
]
[tool.autopep8]
max_line_length = 120
ignore = "E501,W6,E203"
in-place = true
recursive = true
aggressive = 3
exclude = "**/_version.py"
[tool.black]
line-length = 120
extend-exclude = "_version.py"
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 119
lines_after_imports = 2
multi_line_output = 3
use_parentheses = false
skip_glob = [
"**/_version.py",
]
[tool.pyright]
include = [
"project",
"tests",
]
exclude = [
"**/node_modules",
"**/__pycache__",
"**/.pytest_cache",
"**/_version.py",
]
ignore = [
"src/oldstuff",
]
pythonVersion = "3.14"
pythonPlatform = "Linux"
[tool.pytest.ini_options]
markers = [
"ci_skip",
]
filterwarnings = []
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "project/_version.py"
# Set to true to allow installing git dependencies
[tool.hatch.metadata]
allow-direct-references = false