File: pyproject.toml

package info (click to toggle)
python-wn 0.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,184 kB
  • sloc: python: 7,592; xml: 493; sql: 220; makefile: 12
file content (106 lines) | stat: -rw-r--r-- 2,327 bytes parent folder | download
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
dynamic = ['version']

name = "wn"
description = "Wordnet interface library"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
keywords = ["wordnet", "interlingual", "linguistics", "language", "library"]
authors = [
  {name = "Michael Wayne Goodman", email = "goodman.m.w@gmail.com"}
]
classifiers = [
  "Development Status :: 4 - Beta",
  "Environment :: Console",
  "Intended Audience :: Developers",
  "Intended Audience :: Information Technology",
  "Intended Audience :: Science/Research",
  "License :: OSI Approved :: MIT License",
  "Programming Language :: Python :: 3",
  "Programming Language :: Python :: 3.9",
  "Programming Language :: Python :: 3.10",
  "Programming Language :: Python :: 3.11",
  "Programming Language :: Python :: 3.12",
  "Programming Language :: Python :: 3.13",
  "Topic :: Scientific/Engineering :: Information Analysis",
  "Topic :: Software Development :: Libraries :: Python Modules",
  "Topic :: Text Processing :: Linguistic",
]

dependencies = [
  "httpx",
  "tomli",
]

[project.optional-dependencies]
web = [
  "starlette",
]
editor = [
  "wn-editor"
]

[project.urls]
homepage = "https://github.com/goodmami/wn"
documentation = "https://wn.readthedocs.io"
changelog = "https://github.com/goodmami/wn/blob/main/CHANGELOG.md"

[tool.hatch.version]
path = "wn/__init__.py"

[tool.hatch.build.targets.sdist]
exclude = [
  "/.github",
]

[tool.hatch.envs.hatch-test]
extra-dependencies = [
  "pytest-benchmark",
]
features = ["web"]

[tool.hatch.envs.mypy]
dependencies = [
  "mypy",
]

[tool.hatch.envs.mypy.scripts]
check = "mypy wn/"

[tool.hatch.envs.docs]
dependencies = [
  "wn[web]",
  "furo",
  "sphinx",
  "sphinx-copybutton",
  "sphinx-autobuild",
]

[tool.hatch.envs.docs.scripts]
build = "sphinx-build -M html docs docs/_build"
clean = "sphinx-build -M clean docs docs/_build"
watch = "sphinx-autobuild docs docs/_build/html"

[tool.ruff]
target-version = "py39"
line-length = 88

[tool.ruff.lint]
select = [
  "B",      # flake8-bugbear
  "C90",    # McCabe cyclomatic complexity
  "E",      # pycodestyle
  "F",      # Pyflakes
  "W",      # pycodestyle
]

[tool.ruff.lint.per-file-ignores]
"docs/conf.py" = ["E402"]

[tool.ruff.format]
quote-style = "single"