-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
74 lines (64 loc) · 1.79 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
71
72
73
74
[project]
name = "git-browse"
authors = [
{name = "Albert Wang", email = "[email protected]"},
]
description = "Open repositories, directories, and files in the browser"
requires-python = ">=3.7"
keywords = ["github", "phabricator", "repository", "browser"]
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Topic :: Software Development :: Version Control",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"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",
"Typing :: Typed",
]
dependencies = []
dynamic = ["version", "readme"]
[project.optional-dependencies]
test = [
# Testing
"coverage==7.6.4", # Test coverage
"ruff==0.7.1", # Python linter
# Types
"mypy==1.13.0", # Static typing
]
[project.urls]
"Homepage" = "https://github.com/albertyw/git-browse"
[project.scripts]
git_browse = "git_browse.browse:main"
[tool.setuptools.dynamic]
version = {attr = "git_browse.browse.__version__"}
readme = {file = "README.md", content-type="text/markdown"}
[options.package_data]
git_browse = ["py.typed"]
[tool.ruff]
lint.select = ["E", "F", "W", "A", "B", "COM", "N", "PLC", "PLE", "PLW"]
lint.ignore = ["B010"]
[tool.mypy]
strict = true
exclude = [
"build",
]
[tool.coverage.run]
source = [
".",
]
omit = [
".virtualenv",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
'if __name__ == "__main__":',
]