Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (66 loc) · 2.16 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (66 loc) · 2.16 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "gvc"
version = "1.3.0"
description = "Git Visual Compare — a GUI diff viewer driven from the command line"
authors = [
{ name = "David Foster", email = "david@dafoster.net" },
]
readme = "README.md"
license = { text = "MIT" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: MacOS X",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Topic :: Software Development :: Version Control",
"Topic :: Software Development :: Version Control :: Git",
]
requires-python = ">=3.14"
dependencies = [
"pywebview>=5.0",
"platformdirs>=4.0",
# AppKit, Foundation
"pyobjc-framework-Cocoa; sys_platform == 'darwin'",
]
[project.urls]
"Release notes" = "https://github.com/davidfstr/git-visual-compare/blob/main/RELEASE_NOTES.md"
repository = "https://github.com/davidfstr/git-visual-compare"
[project.scripts]
gvc = "gvc.cli:main"
[tool.poetry]
packages = [{include = "gvc", from = "src"}]
[tool.poetry.group.dev.dependencies]
mypy = ">=1.0"
isort = "^8.0.1"
pytest = ">=9.0.3,<10.0.0"
pytest-subtests = ">=0.12"
pytest-xdist = ">=3.8.0,<4.0.0"
zizmor = "^1.24.1"
[tool.mypy]
python_version = "3.14"
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_no_return = true
ignore_missing_imports = true
files = ["src/gvc", "tests"]
[tool.isort]
src_paths = ["src/gvc"]
skip = ["lib"]
line_length = 79
multi_line_output = 5 # vert-grid-grouped; https://pycqa.github.io/isort/docs/configuration/multi_line_output_modes.html
use_parentheses = true # never use backslash to continue lines
include_trailing_comma = true
force_alphabetical_sort = true # don't use separate sections for stdlib vs. 3rd party vs. 1st party imports
force_sort_within_sections = true # combine from-imports with regular imports
order_by_type = false # don't sort constants specially
lines_after_imports = 2