-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
74 lines (64 loc) · 1.95 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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "proto-topy"
version = "1.0.5"
description = "Yet another tool that compiles .proto strings and import the outcome Python modules."
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
classifiers = [
"Intended Audience :: Developers",
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
'Programming Language :: Python :: Implementation :: CPython',
"Operating System :: OS Independent"
]
dependencies = ["protobuf>=3.20.3"]
[project.urls]
homepage = "https://github.com/decitre/python-proto-topy"
[project.optional-dependencies]
dev = [
"pytest", "pytest-recording", "urllib3<2",
"bumpver", "black", "ruff", "pre-commit",
"tox", "build", "twine", "setuptools"
]
ci = [
"virtualenv>=16.6.0", "pip>=19.1.1", "setuptools>=18.0.1",
"six>=1.14.0", "tox>=4.12.1", "tox-gh>=1.2"
]
[tool.black]
line-length = 88
target-version = ['py311']
[tool.ruff]
line-length = 88
exclude = [
".tox", ".eggs", "build", "dist", "__pycache__",
"docs/source/conf.py", "old", "env",
]
lint.ignore = ["COM812", "D103", "E501", "F401", "F403"]
lint.select = ["B", "B9", "C", "E", "F", "W", "I001"]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"
[tool.ruff.lint.mccabe]
max-complexity = 18
[tool.bumpver]
current_version = "1.0.4"
version_pattern = "MAJOR.MINOR.PATCH"
commit = false
tag = false
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'version = "{version}"',
]
[tool.tox]
# tox 4 supports pyproject.toml only through an inconveninent legacy_tox_ini string...
# So we still keep tox.ini