-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
110 lines (96 loc) · 2.39 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
110
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[project]
name = "pyshotgrid"
authors = [
{ name="Fabian Geisler", email="info@fasbue.com" },
]
description = "A pythonic and object oriented way to talk to Autodesk ShotGrid."
dependencies = ["shotgun-api3>=3.4.0"]
readme.file = "README.md"
readme.content-type = "text/markdown"
license.text="MIT"
requires-python = ">=3.9"
keywords = ['shotgrid']
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
]
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/fabiangeisler/pyshotgrid"
"Documentation" = "https://fabiangeisler.github.io/pyshotgrid"
"Bug Tracker" = "https://github.com/fabiangeisler/pyshotgrid/issues"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "pyshotgrid.VERSION"}
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = "tests/"
addopts = "--cov=pyshotgrid"
[tool.tox]
legacy_tox_ini = """
[tox]
skip_missing_interpreters = true
envlist = py39, py310, py311
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
[testenv:py310_docs]
description=Documentation generation
changedir=docs
deps=
-rrequirements_docs.txt
commands=
sphinx-build -b html -d {envtmpdir}/doctrees . _builds
[testenv]
deps =
-rrequirements.txt
commands = pytest
"""
[tool.mypy]
python_version = "3.9"
strict = true
warn_return_any = false
pretty = true
[[tool.mypy.overrides]]
module = [
"shotgun_api3.*",
"tank_vendor.*",
]
ignore_missing_imports = true
[tool.commitizen]
name = "cz_conventional_commits"
version = "2.0.2"
tag_format = "v$version"
update_changelog_on_bump = true
annotated_tag = true
version_files = [
"src/pyshotgrid/__init__.py:VERSION",
]
[tool.ruff]
line-length = 100
exclude = ["tasks.py", "conf.py"]
lint.select = [
"E", # pycodestyle
"W",
"F", # PyFlakes
"B", # flake8-bugbear
"T20", # "print" in code
"N", # pep8 naming convention
"I", # isort
"RUF", # Bad unicode characters in code
]
src = ["src", "tests"]