Skip to content

Commit 2bc3e6e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 672a209 commit 2bc3e6e

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,49 +52,47 @@ 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"',
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'",
5758
"netifaces",
58-
'numpy==1.19.5; python_version == "3.6"',
59-
'numpy==1.21.6; python_version == "3.7"',
60-
'numpy==1.24.4; python_version == "3.8"',
61-
'numpy; python_version >= "3.9"',
62-
'opencv-python==4.6.0.66; python_version == "3.6"',
63-
'opencv-python==4.8.1.78; python_version >= "3.7" and python_version <= "3.8"',
64-
'opencv-python; python_version >= "3.9"',
59+
"numpy; python_version>='3.9'",
60+
"numpy==1.19.5; python_version=='3.6'",
61+
"numpy==1.21.6; python_version=='3.7'",
62+
"numpy==1.24.4; python_version=='3.8'",
63+
"opencv-python; python_version>='3.9'",
64+
"opencv-python==4.6.0.66; python_version=='3.6'",
65+
"opencv-python==4.8.1.78; python_version>='3.7' and python_version<='3.8'",
6566
]
66-
[project.urls]
67-
Homepage = "https://github.com/egeakman/mjpeg-streamer"
68-
Issues = "https://github.com/egeakman/mjpeg-streamer/issues"
69-
Releases = "https://github.com/egeakman/mjpeg-streamer/releases"
70-
[project.scripts]
71-
mjpeg-streamer = "mjpeg_streamer.cli:main"
67+
urls.Homepage = "https://github.com/egeakman/mjpeg-streamer"
68+
urls.Issues = "https://github.com/egeakman/mjpeg-streamer/issues"
69+
urls.Releases = "https://github.com/egeakman/mjpeg-streamer/releases"
70+
scripts.mjpeg-streamer = "mjpeg_streamer.cli:main"
7271

7372
[tool.hatch.build]
74-
packages = ["mjpeg_streamer"]
75-
exclude = ["examples"]
73+
packages = [ "mjpeg_streamer" ]
74+
exclude = [ "examples" ]
7675
isolated = true
7776

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

8180
[tool.ruff]
82-
exclude = ["examples"]
81+
exclude = [ "examples" ]
8382
fix = false
8483
ignore = [
85-
"TID252", # Relative imports are banned | __init__.py
86-
"T201", # `print` found | TODO: Migrate to logging
87-
"S104", # Possible binding to all interfaces | False positive
88-
"EM101", # Exception must not use a string literal
89-
"EM102", # Exception must not use an f-string literal
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
92-
"FBT001", # Boolean-typed positional argument in function definition
93-
"FA100", # Missing `from __future__ import annotations` | It works without it
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
9493
]
9594

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

0 commit comments

Comments
 (0)