-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
92 lines (78 loc) · 1.88 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
[build-system]
requires = ["setuptools>=61.2", "setuptools-rust"]
build-backend = "setuptools.build_meta"
[tool.mypy]
warn_redundant_casts = true
warn_unused_configs = true
check_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"requirements.*",
"openai.*",
]
ignore_missing_imports = true
[project]
name = "buildlog-consultant"
authors = [{name = "Jelmer Vernooij", email = "jelmer@jelmer.uk"}]
description = "buildlog parser and analyser"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"python_debian",
"PyYAML",
"requirements-parser",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/jelmer/buildlog-consultant"
Repository = "https://github.com/jelmer/buildlog-consultant.git"
[project.optional-dependencies]
chatgpt = ["openai"]
dev = ["ruff==0.9.6"]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
where = ["py"]
include = ["buildlog_consultant*"]
[tool.setuptools.package-data]
buildlog_consultant = ["py.typed"]
[tool.setuptools.dynamic]
version = {attr = "buildlog_consultant.__version__"}
[tool.ruff.lint]
select = [
"ANN",
"D",
"E",
"F",
"I",
"UP",
]
ignore = [
"ANN001",
"ANN002",
"ANN003",
"ANN101",
"ANN102",
"ANN201",
"ANN202",
"ANN204",
"ANN206",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"E501",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.cibuildwheel]
skip = "*-win32 *musllinux*"
before-build = "pip install -U setuptools-rust && rustup default stable && rustup show"
environment = {PATH = "$HOME/.cargo/bin:$PATH"}
[tool.cibuildwheel.linux]
before-build = "pip install -U setuptools-rust && curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=minimal -y && rustup show"
[tool.cibuildwheel.macos]
before-build = "rustup target add aarch64-apple-darwin"