-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (48 loc) · 1.39 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (48 loc) · 1.39 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lcpush"
version = "0.1.0"
description = "Push a LeetCode solution to a GitHub repo in one interactive session, from any directory."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "Larry Wang" }]
keywords = ["leetcode", "github", "cli"]
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"typer>=0.12",
"questionary>=2.0",
"prompt_toolkit>=3.0.38",
"rapidfuzz>=3.6",
"httpx>=0.27",
"keyring>=25.0",
"platformdirs>=4.2",
"tomli-w>=1.0",
]
[project.optional-dependencies]
dev = ["pytest>=8.0", "pytest-cov>=5.0", "pytest-timeout>=2.3"]
[project.urls]
Homepage = "https://github.com/larrywang/lcpush"
[project.scripts]
lcpush = "lcpush.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/lcpush"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
timeout = 60
# Tests import shared fixtures via `from tests.conftest import ...`, which needs
# the repo root importable. `python -m pytest` adds it implicitly; a bare
# `pytest` (or `uv run pytest`) does not.
pythonpath = ["."]
[tool.coverage.run]
source = ["lcpush"]