Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (107 loc) · 3.17 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (107 loc) · 3.17 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
[build-system]
requires = [
"setuptools==84.2.1",
"setuptools_scm==10.3.4",
]
build-backend = "setuptools.build_meta"
[project]
name = "dotnet-WebView2.WinForms"
dynamic = ["version"]
description = "Python.NET bindings to the Microsoft.Web.WebView2 Winforms component"
readme = "README.md"
requires-python = ">=3.11"
license = "BSD-3-Clause"
license-files = ["LICENSE", "LICENSE.WebView2"]
authors = [
{name = "Russell Keith-Magee", email = "russell@keith-magee.com"},
]
keywords = ["Microsoft", "WebView2"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: 3.16",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development",
"Topic :: Utilities",
]
dependencies = [
"pythonnet >= 3.0.0",
]
[project.urls]
Homepage = "https://github.com/beeware/dotnet-WebView2.WinForms"
Funding = "https://beeware.org/contributing/membership/"
Tracker = "https://github.com/beeware/dotnet-WebView2.WinForms/issues"
Source = "https://github.com/beeware/dotnet-WebView2.WinForms"
[dependency-groups]
# Extras used by developers *of* this library are pinned to specific versions to
# ensure environment consistency.
pre-commit = [
"pre-commit == 4.6.2",
]
setuptools-scm = [
"setuptools_scm == 10.3.4",
]
update = [
"httpx2 == 2.14.0",
]
dev = [
{include-group = "pre-commit"},
{include-group = "setuptools-scm"},
{include-group = "update"},
]
test = [
{include-group = "setuptools-scm"},
]
[tool.ruff.lint]
# In addition to the default rules, these additional rules will be used:
extend-select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"YTT", # flake8-2020
"ASYNC", # flake8-async
"C4", # flake8-comprehensions
"I", # isort
# The SIM rules are *very* opinionated, and don't necessarily make for better code.
# They may be worth occasionally turning on just to see if something could actually
# use improvement.
# "SIM", # flake8-simplify
]
[tool.ruff.lint.per-file-ignores]
# PEP8 module naming conventions aren't appropriate
"src/WebView2/__init__.py" = ["N999"]
[tool.rumdl]
flavor = "mkdocs"
include = ["**/*.md"]
exclude = [
"comment.md",
"CODE_OF_CONDUCT.md",
]
respect-gitignore = true
# Disable rules:
# MD014: Forces commands in codeblocks to show output
# MD033: No inline HTML
disable = [
"MD014",
"MD033",
]
[tool.rumdl.per-file-ignores]
[tool.rumdl.MD013] # Line length
line_length = 999999
reflow = true
reflow_mode = "normalize"
[tool.rumdl.MD026] # Remove punctuation at the end of headings
punctuation = ",;:"
[tool.rumdl.MD061] # Fail on certain strings.
terms = ["TODO"]
[tool.setuptools_scm]
# To enable SCM versioning, we need an empty tool configuration for setuptools_scm