forked from vzhd1701/gridplayer
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
136 lines (123 loc) · 3.38 KB
/
Copy pathpyproject.toml
File metadata and controls
136 lines (123 loc) · 3.38 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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[build-system]
requires = ["uv_build>=0.11.30,<0.13.0"]
build-backend = "uv_build"
[project]
name = "gridplayer"
version = "0.5.5"
description = "Play videos side-by-side"
authors = [{ name = "vzhd1701", email = "vzhd1701@gmail.com" }]
requires-python = ">=3.10"
readme = "README.md"
license-files = ["LICENSE"]
license = "GPL-3.0-or-later"
keywords = [
"video",
"player",
"vlc",
"pyqt",
"Qt5",
"multimedia",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Environment :: X11 Applications :: Qt",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: Unix",
"Topic :: Multimedia :: Video :: Display",
]
dependencies = [
"PyQt5==5.15.11",
"PyQt5-Qt5==5.15.2 ; sys_platform == 'win32'",
"PyQt5-Qt5==5.15.19 ; sys_platform != 'win32'",
"pydantic (>=2.12.5,<3.0.0)",
"pydantic-extra-types (>=2.10.6,<3.0.0)",
"streamlink (>=8.4.0,<9.0.0)",
"yt-dlp[default] (>=2026.07.04,<2027.0.0)",
"pyobjc-core ; sys_platform == 'darwin'",
"pyobjc-framework-Cocoa ; sys_platform == 'darwin'",
]
[project.urls]
repository = "https://github.com/vzhd1701/gridplayer"
changelog = "https://github.com/vzhd1701/gridplayer/blob/master/CHANGELOG.md"
issues = "https://github.com/vzhd1701/gridplayer/issues"
[project.scripts]
gridplayer = "gridplayer.__main__:main"
[dependency-groups]
dev = [
"keepachangelog==2.0.0",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-mock",
"ruff",
"rumdl",
]
[tool.uv.build-backend]
module-root = ""
[tool.ruff]
extend-exclude = ["gridplayer/resources_bin.py", "gridplayer/vlc_player/vlc.py"]
[tool.ruff.format]
line-ending = "lf"
[tool.ruff.lint]
exclude = ["tests/*.py", "scripts/*"]
select = [
# Complexity
#"PL", # pylint
#"C90", # maccabe
"B", # flake8-bugbear
"C4", # flake8-comprehensions
##"COM", # flake8-commas
##"D", # pydocstyle
"DTZ", # flake8-datetimez
"E", # pycodestyle
#"ERA", # flake8-eradicate
"EXE", # flake8-executable
"F", # pyflakes
##"FBT", # flake8-boolean-trap
"FLY", # pyflint
##"FURB", # refurb
##"G", # flake8-logging-format
"I", # isort
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
##"N", # pep8-naming
"PERF", # perflint
"PIE", # flake8-pie
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"Q", # flake8-quotes
##"RET", # flake8-return
"RSE", # flake8-raise
"RUF", # ruff
#"S", # flake8-bandit
##"SIM", # flake8-simpify
##"SLF", # flake8-self
"SLOT", # flake8-slots
"T100", # flake8-debugger
"TID", # flake8-tidy-imports
"TRY", # tryceratops
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
ignore = [
"B904", # raise from
"B905", # `zip()` without an explicit `strict=` parameter
"E501", # Line too long
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"TRY003", # long exception messages
]
[tool.ruff.lint.extend-per-file-ignores]
"__main__.py" = ["E402"]
"*_ui.py" = ["E402"]
[tool.ty.src]
exclude = ["tests"]
[tool.rumdl]
disable = ["MD013"]
exclude = ["LICENSE.md"]
[tool.rumdl.per-file-ignores]
"README.md" = ["MD033", "MD041"]