-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
45 lines (33 loc) · 937 Bytes
/
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
[build-system]
requires = ["flit_core>=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "hg-setup"
version = "0.1.4"
description = "Helper for setting up and configuring Mercurial"
authors = [
{ name = "Pierre Augier", email = "pierre.augier@univ-grenoble-alpes.fr" },
]
dependencies = ["click", "textual", "rich-click"]
requires-python = ">=3.11"
readme = "README.md"
license = { text = "BSD-3-Clause" }
[project.scripts]
hg-setup = "hg_setup:main"
[tool.pdm]
distribution = true
package-dir = "src"
[tool.pdm.dev-dependencies]
test = ["pytest", "pytest-asyncio", "pytest-cov"]
dev = ["ruff", "ipython"]
[tool.pdm.options]
lock = ["-G", ":all"]
[tool.pdm.scripts]
format = "ruff format src tests"
[tool.pytest.ini_options]
addopts = "--pdbcls=IPython.terminal.debugger:TerminalPdb"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
line-length = 88
target-version = "py311"