generated from SevanSSP/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (41 loc) · 1.18 KB
/
pyproject.toml
File metadata and controls
48 lines (41 loc) · 1.18 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
[project]
name = "python-library-template" # TODO: Change this to your package name
version = "0.1.0"
description = "Add your description here" # TODO: Update this description to match your library's purpose
readme = "README.md"
license="MIT"
classifiers = ["Private :: Do Not Upload"] # TODO: Remove this line if you want to publish your library
requires-python = ">=3.10, <4"
dependencies = []
[build-system]
requires = ["uv_build>=0.7.19,<0.8.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pre-commit>=4.2.0",
"pytest (>=8.3.3, <9)",
"pre-commit (>=4.0.1, <5)",
"pytest-cov (>=6.0.0, <7)",
]
[[tool.uv.index]]
name = "sevan-internal-package-index"
url = "https://api.repoforge.io/EYvhW6SyL/"
publish-url = "https://api.repoforge.io/EYvhW6SyL/"
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.ruff]
src = ["src"]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"S", # flake8-bandit
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # automatically upgrade syntax for newer versions of the language
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]