Skip to content

Commit cc7b607

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 503d30e commit cc7b607

File tree

1 file changed

+30
-31
lines changed

1 file changed

+30
-31
lines changed

pyproject.toml

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ keywords = [
2121
"video",
2222
"webcam",
2323
]
24-
license = {text = "AGPLv3"}
25-
authors = [{name = "Ege Akman", email = "[email protected]"}]
24+
license = { text = "AGPLv3" }
25+
authors = [ { name = "Ege Akman", email = "[email protected]" } ]
2626
requires-python = ">=3.6"
2727
classifiers = [
2828
"Development Status :: 5 - Production/Stable",
@@ -43,6 +43,7 @@ classifiers = [
4343
"Programming Language :: Python :: 3.10",
4444
"Programming Language :: Python :: 3.11",
4545
"Programming Language :: Python :: 3.12",
46+
"Programming Language :: Python :: 3.13",
4647
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
4748
"Topic :: Multimedia :: Video",
4849
"Topic :: Security",
@@ -51,48 +52,46 @@ dynamic = [
5152
"version",
5253
]
5354
dependencies = [
54-
'aiohttp==3.8.6; python_version >= "3.6" and python_version <= "3.7"',
55-
'aiohttp==3.9.1; python_version == "3.8"',
56-
'aiohttp; python_version >= "3.9"',
57-
'numpy==1.19.5; python_version == "3.6"',
58-
'numpy==1.21.6; python_version == "3.7"',
59-
'numpy==1.24.4; python_version == "3.8"',
60-
'numpy; python_version >= "3.9"',
61-
'opencv-python==4.6.0.66; python_version == "3.6"',
62-
'opencv-python==4.8.1.78; python_version >= "3.7" and python_version <= "3.8"',
63-
'opencv-python; python_version >= "3.9"',
55+
"aiohttp; python_version>='3.9'",
56+
"aiohttp==3.8.6; python_version>='3.6' and python_version<='3.7'",
57+
"aiohttp==3.9.1; python_version=='3.8'",
58+
"numpy; python_version>='3.9'",
59+
"numpy==1.19.5; python_version=='3.6'",
60+
"numpy==1.21.6; python_version=='3.7'",
61+
"numpy==1.24.4; python_version=='3.8'",
62+
"opencv-python; python_version>='3.9'",
63+
"opencv-python==4.6.0.66; python_version=='3.6'",
64+
"opencv-python==4.8.1.78; python_version>='3.7' and python_version<='3.8'",
6465
]
65-
[project.urls]
66-
Homepage = "https://github.com/egeakman/mjpeg-streamer"
67-
Issues = "https://github.com/egeakman/mjpeg-streamer/issues"
68-
Releases = "https://github.com/egeakman/mjpeg-streamer/releases"
69-
[project.scripts]
70-
mjpeg-streamer = "mjpeg_streamer.cli:main"
66+
urls.Homepage = "https://github.com/egeakman/mjpeg-streamer"
67+
urls.Issues = "https://github.com/egeakman/mjpeg-streamer/issues"
68+
urls.Releases = "https://github.com/egeakman/mjpeg-streamer/releases"
69+
scripts.mjpeg-streamer = "mjpeg_streamer.cli:main"
7170

7271
[tool.hatch.build]
73-
packages = ["mjpeg_streamer"]
74-
exclude = ["examples"]
72+
packages = [ "mjpeg_streamer" ]
73+
exclude = [ "examples" ]
7574
isolated = true
7675

7776
[tool.hatch.version]
7877
path = "mjpeg_streamer/__init__.py"
7978

8079
[tool.ruff]
81-
exclude = ["examples", "test*"]
80+
exclude = [ "examples", "test*" ]
8281
fix = false
8382
lint.ignore = [
84-
"TID252", # Relative imports are banned | __init__.py
85-
"T201", # `print` found | TODO: Migrate to logging
86-
"S104", # Possible binding to all interfaces | False positive
87-
"EM101", # Exception must not use a string literal
88-
"EM102", # Exception must not use an f-string literal
89-
"TRY003", # Avoid specifying long messages outside the exception class
90-
"UP007", # Use `X | Y` for type annotations | Have to use `typing.Union` for Python 3.6 compatibility
91-
"FBT001", # Boolean-typed positional argument in function definition
92-
"FA100", # Missing `from __future__ import annotations` | It works without it
83+
"EM101", # Exception must not use a string literal
84+
"EM102", # Exception must not use an f-string literal
85+
"FA100", # Missing `from __future__ import annotations` | It works without it
86+
"FBT001", # Boolean-typed positional argument in function definition
87+
"S104", # Possible binding to all interfaces | False positive
88+
"T201", # `print` found | TODO: Migrate to logging
89+
"TID252", # Relative imports are banned | __init__.py
90+
"TRY003", # Avoid specifying long messages outside the exception class
91+
"UP007", # Use `X | Y` for type annotations | Have to use `typing.Union` for Python 3.6 compatibility
9392
]
9493

9594
[tool.isort]
9695
profile = "black"
9796
known_first_party = "mjpeg_streamer"
98-
skip = ["examples"]
97+
skip = [ "examples" ]

0 commit comments

Comments
 (0)