-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (71 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
80 lines (71 loc) · 2.01 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
[project]
name = "mwparserfromhell"
dynamic = ["version"]
description = "MWParserFromHell is a parser for MediaWiki wikicode"
authors = [
{name = "Ben Kurtovic", email = "ben@benkurtovic.com"},
]
license = "MIT"
license-files = ["LICENSE"]
keywords = [
"mwparserfromhell", "wikipedia", "wiki", "mediawiki", "wikicode", "wikitext"
]
readme = "README.rst"
requires-python = ">= 3.10"
dependencies = []
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Text Processing :: Markup",
]
[project.urls]
Repository = "https://github.com/earwig/mwparserfromhell"
Documentation = "https://mwparserfromhell.readthedocs.io/"
Issues = "https://github.com/earwig/mwparserfromhell/issues"
Changelog = "https://github.com/earwig/mwparserfromhell/blob/main/CHANGELOG"
[dependency-groups]
dev = [
"psutil",
"pytest",
"pytest-cov",
"setuptools",
"sphinx",
]
[build-system]
requires = ["setuptools >= 77.0.3", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.cibuildwheel]
environment = { WITH_EXTENSION = "1" }
environment-pass = ["RUNNER_OS"]
test-groups = ["dev"]
test-command = [
'python -c "import mwparserfromhell.parser._tokenizer"',
"pytest {project}/tests -rxs --cov=mwparserfromhell --cov-report=lcov:coverage.lcov",
"python {project}/scripts/save_coverage.py",
]
[tool.pyright]
pythonVersion = "3.10"
typeCheckingMode = "standard"
venvPath = "."
venv = ".venv"
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
extend-select = [
"I",
"UP",
]
[tool.mypy]
disallow_incomplete_defs = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true