-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
119 lines (103 loc) · 3.29 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[tool.poetry]
name = "tbc-video-export"
version = "0.0.0"
description = "Tool for exporting S-Video and CVBS-type TBCs to video files."
authors = ["Jitterbug <[email protected]>"]
maintainers = [
"Jitterbug <[email protected]>",
"Harry Munday <[email protected]>",
]
license = "GPL-3.0-or-later"
readme = "README.md"
repository = "https://github.com/JuniorIsAJitterbug/tbc-video-export"
keywords = ["vhs-decode", "ld-decode", "cvbs-decode", "tbc", "rf capture"]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
pywin32 = [{ version = "^306", platform = "win32", source = "pypi" }]
typing-extensions = "^4.10.0"
[tool.poetry.scripts]
tbc-video-export = "tbc_video_export.__main__:main"
[tool.poetry.urls]
"Issues" = "https://github.com/JuniorIsAJitterbug/tbc-video-export/issues"
"Wiki" = "https://github.com/JuniorIsAJitterbug/tbc-video-export/wiki"
"Discord" = "https://discord.com/invite/pVVrrxd"
[tool.poetry.group.dev.dependencies]
poetry-dynamic-versioning = { extras = ["plugin"], version = "^1.2.0" }
pytest = "^8.1.1"
pytest-mock = "^3.14.0"
pymediainfo = "^6.1.0"
[tool.poetry.group.appimage]
optional = true
[tool.poetry.group.appimage.dependencies]
python-appimage = "^1.2.5"
[tool.poetry.group.pyinstaller]
optional = true
[tool.poetry.group.pyinstaller.dependencies]
pyinstaller = "^6.3.0"
pyinstaller-versionfile = "^2.1.1"
dunamai = "^1.19.0"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.pyright]
include = ["src/**/*.py"]
exclude = ["tests/**/*.py"]
venvPath = ".venv"
typeCheckingMode = "strict"
[tool.ruff]
include = ["pyproject.toml", "src/**/*.py"]
extend-exclude = ["/nix/store"]
target-version = "py310"
select = [
"PL", # Pylint
"I", # isort
"F", # Pyflakes
"D", # pydocstyle
"C90", # mccabe
"E", # pycodestyle
"W", # pycodestyle
"N", # pep8-naming
"UP", # pyupgrade
"SLF001", # private-member-access
"TC", # flake8-type-checking
"ARG", # flake8-unused-arguments
"PTH", # flake8-use-pathlib
"A", # flake8-builtins
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"G", # flake8-logging-format
"PIE", # flake8-pie
"B", # flake8-bugbear
"ICN", # flake8-import-conventions
"BLE", # flake8-blind-except
"TID", # flake8-tidy-imports
"RSE", # flake8-raise
"RET", # flake8-return
"SIM", # flake8-simplify
"PYI", # flake8-pyi
]
ignore = [
"PLC0414", # useless-import-alias
"PLR2004", # magic-value-comparison
"PLC0415", # import-outside-top-level
"PYI034", # non-self-return-type
"A005", # stdlib-module-shadowing
"D100", # undocumented-public-module
"D104", # undocumented-public-package
"D107", # undocumented-public-init
"G003", # logging +
"G004", # logging f-string
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
[tool.poetry-dynamic-versioning]
enable = true
bump = true
vcs = "git"
style = "pep440"
metadata = false
[tool.poetry-dynamic-versioning.substitution]
files = ["tbc_video_export/common/consts.py"]
folders = [{ path = "src" }]