-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
109 lines (98 loc) · 2.5 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
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
105
106
107
108
109
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "avf"
version = "0.1.0"
description = "Asset Version Framework - A comprehensive asset versioning system for game development pipelines"
readme = "README.md"
authors = [
{ name = "AVF Team", email = "[email protected]" }
]
license = { text = "MIT" }
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control",
]
dependencies = [
"pydantic>=2.0",
"gitpython>=3.1.40",
"p4python>=2023.2",
"structlog>=24.1.0",
"sqlalchemy>=2.0.0",
]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-cov>=3.0",
"pytest-asyncio>=0.21.0",
"pytest-xdist>=3.3.1",
]
dev = [
"black>=22.0",
"ruff>=0.1.14",
"mypy>=1.0",
"isort>=5.12.0",
"pre-commit>=3.3.0",
]
docs = [
"sphinx>=7.0.0",
"sphinx-autodoc-typehints>=1.24.0",
"sphinx-rtd-theme>=1.3.0",
]
[project.urls]
Homepage = "https://github.com/your-username/avf"
Repository = "https://github.com/your-username/avf"
Documentation = "https://github.com/your-username/avf/blob/main/README.md"
Changelog = "https://github.com/your-username/avf/blob/main/CHANGELOG.md"
[tool.hatch.build.targets.wheel]
packages = ["src/avf"]
[tool.hatch.build.targets.sdist]
include = [
"src/avf",
"tests",
"LICENSE",
"README.md",
"MANIFEST.in",
]
[tool.setuptools]
package-dir = {"" = "src"}
packages = ["avf"]
[tool.setuptools.package-data]
"avf" = ["py.typed"]
[tool.ruff]
line-length = 100
target-version = "py38"
lint.select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"RUF", # Ruff-specific rules
"W", # pycodestyle warnings
]
[tool.black]
line-length = 100
target-version = ["py38"]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --doctest-modules"
testpaths = ["tests"]