-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
70 lines (59 loc) · 1.42 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
[tool.pyright]
extraPaths = ["__pypackages__/3.11/lib/"]
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.2.1",
"pytest-mock>=3.10.0",
"pytest-cov>=4.0.0",
"black",
"ruff",
]
[project]
name = "py-tldr"
description = "New Python client for tldr pages"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "iamgodot", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
]
requires-python = ">=3.7"
dependencies = [
"click==8.0.3",
"toml==0.10.2",
"requests==2.26.0",
"yaspin==2.1.0",
]
dynamic = ["version"]
[project.urls]
"Issue Tracker" = "https://github.com/iamgodot/py-tldr/issues"
[project.scripts]
tldr = "py_tldr:cli"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "py_tldr.__version__"}
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["py_tldr", "tests"]
[tool.black]
line-length = 88
include = '\.pyi?$'
[tool.ruff]
select = ["E", "F", "I"]
exclude = [".git", ".tox", "venv", "build", "__pypackages__"]
line-length = 88
per-file-ignores = {"src/py_tldr/__init__.py" = ["F401"]}
src = ["src", "tests"]
[tool.ruff.isort]
known-first-party = ["py_tldr"]