-
Notifications
You must be signed in to change notification settings - Fork 163
/
pyproject.toml
80 lines (67 loc) · 1.62 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
[tool.poetry]
name = "gvsbuild"
version = "2024.9.0"
description = "GTK stack for Windows"
authors = ["Ignacio Casal Quinteiro <[email protected]>", "Dan Yeaw <[email protected]>"]
license = "GPL-2.0-only"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Build Tools",
"Environment :: X11 Applications :: GTK",
"Operating System :: Microsoft :: Windows",
]
[tool.poetry.dependencies]
python = "^3.8"
build = ">=0.9,<1.3"
lastversion = { version = ">=2.4.2,<4.0.0", optional = true }
packaging = { version = ">=21.3,<25.0", optional = true }
typer = {extras = ["all"], version = ">=0.6.1,<0.13.0"}
setuptools = {version = ">=69.2,<74.0", python = ">=3.12"}
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.0.1"
pytest = ">=7.1.3,<9.0.0"
tox = "^4.1.2"
[tool.poetry.extras]
outdated = ["lastversion", "packaging"]
[tool.poetry.scripts]
gvsbuild = 'gvsbuild.main:run'
[[tool.mypy.overrides]]
module = "lastversion"
ignore_missing_imports = true
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = py{38,39,310,311,312}
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
commands = pytest
deps = pytest
"""
[tool.ruff]
line-length = 88
[tool.ruff.lint]
ignore = ["E501"]
select = [
"B",
"B9",
"C",
"E",
"F",
"W",
]
extend-select = ["I"]
[tool.ruff.lint.mccabe]
max-complexity = 20
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["typer.Argument", "typer.Option"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"