mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
Add pre-commit hook to export dependencies to plugin-requirements.txt.
This commit is contained in:
@@ -16,6 +16,18 @@ repos:
|
|||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--extend-select, I, --fix]
|
args: [--extend-select, I, --fix]
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
|
- repo: https://github.com/python-poetry/poetry-plugin-export
|
||||||
|
rev: "1.9.0"
|
||||||
|
hooks:
|
||||||
|
- id: poetry-export
|
||||||
|
args:
|
||||||
|
[
|
||||||
|
"--without=dev",
|
||||||
|
"-f",
|
||||||
|
"requirements.txt",
|
||||||
|
"-o",
|
||||||
|
"plugin-requirements.txt",
|
||||||
|
]
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
autofix_commit_msg: "[pre-commit.ci] Auto fixes from pre-commit.com hooks."
|
autofix_commit_msg: "[pre-commit.ci] Auto fixes from pre-commit.com hooks."
|
||||||
|
|||||||
+37
-3
@@ -1,3 +1,37 @@
|
|||||||
psutil==5.8.0
|
lzokay==1.1.5 ; python_version >= "3.12" and python_version < "4.0" \
|
||||||
vdf==3.4
|
--hash=sha256:0d6b1d80121cdbc3cb106b3fafc03b139f3de3c134ce58b38fcc2d751fc5b013 \
|
||||||
lzokay==1.1.5
|
--hash=sha256:1c83a0f1cc7628237466c298e676a64a1ab4914ccf628b3775f8680477b77481 \
|
||||||
|
--hash=sha256:266db5697a0d01428e4c31633f8dc1e87666ad17bb46b4c48ec7b7b8b70b94bc \
|
||||||
|
--hash=sha256:3c2e81d178161de58bf233eec87c6ef3dba96fecdd9ba72f8f2c8790adc18f74 \
|
||||||
|
--hash=sha256:4389b8b6f3c95aaa33308e2129b026140c850d94440fbea4fdeabcd42477f3b2 \
|
||||||
|
--hash=sha256:4ee2c7144dd3916cf0392d3851cebe8f28136e7998b7a50a91f63d7276327d70 \
|
||||||
|
--hash=sha256:4faeefdef8132c4db995de8e96a649c890c63a81cee06b3bbcae9d224302fa09 \
|
||||||
|
--hash=sha256:5426a80664c471c18a47766111629cae5c9435ca8421cd208b00b10de5df5df9 \
|
||||||
|
--hash=sha256:829bfd081c8f03e85994d920ce7cc8d45033d7c467fc2fadc17b5c47667ec045 \
|
||||||
|
--hash=sha256:867a9fd4a76c830b17366fd2e8bd03fe9b29cf5c13c42bc19562e411cf648dad \
|
||||||
|
--hash=sha256:88fa389193cde7feb13fd4b57b6b8d626a6159bfe84cd795e664e0a738debb42 \
|
||||||
|
--hash=sha256:a4df719d5fef922e0f43ec2408cd70280171ded18ab096c1e88fd1c3ca4dff46 \
|
||||||
|
--hash=sha256:b8f07bdd8c3bd9443d3f5ca69a03b9dc35522c5c92fce61db087ded1f348274f \
|
||||||
|
--hash=sha256:eec7679194643bc1417f8883ef3c9d27e95e00632d4d2a7dc9ef1a1ca92cdd95 \
|
||||||
|
--hash=sha256:f1997c6994239ea24a2c7c7812f9e06bceb6b216c5537b85d8b585dbfd711cb0 \
|
||||||
|
--hash=sha256:f828864453ddfca036de7470da74245d8dcf369c521291037b1b01ac7c5dbd83
|
||||||
|
psutil==5.9.8 ; python_version >= "3.12" and python_version < "4.0" \
|
||||||
|
--hash=sha256:02615ed8c5ea222323408ceba16c60e99c3f91639b07da6373fb7e6539abc56d \
|
||||||
|
--hash=sha256:05806de88103b25903dff19bb6692bd2e714ccf9e668d050d144012055cbca73 \
|
||||||
|
--hash=sha256:26bd09967ae00920df88e0352a91cff1a78f8d69b3ecabbfe733610c0af486c8 \
|
||||||
|
--hash=sha256:27cc40c3493bb10de1be4b3f07cae4c010ce715290a5be22b98493509c6299e2 \
|
||||||
|
--hash=sha256:36f435891adb138ed3c9e58c6af3e2e6ca9ac2f365efe1f9cfef2794e6c93b4e \
|
||||||
|
--hash=sha256:50187900d73c1381ba1454cf40308c2bf6f34268518b3f36a9b663ca87e65e36 \
|
||||||
|
--hash=sha256:611052c4bc70432ec770d5d54f64206aa7203a101ec273a0cd82418c86503bb7 \
|
||||||
|
--hash=sha256:6be126e3225486dff286a8fb9a06246a5253f4c7c53b475ea5f5ac934e64194c \
|
||||||
|
--hash=sha256:7d79560ad97af658a0f6adfef8b834b53f64746d45b403f225b85c5c2c140eee \
|
||||||
|
--hash=sha256:8cb6403ce6d8e047495a701dc7c5bd788add903f8986d523e3e20b98b733e421 \
|
||||||
|
--hash=sha256:8db4c1b57507eef143a15a6884ca10f7c73876cdf5d51e713151c1236a0e68cf \
|
||||||
|
--hash=sha256:aee678c8720623dc456fa20659af736241f575d79429a0e5e9cf88ae0605cc81 \
|
||||||
|
--hash=sha256:bc56c2a1b0d15aa3eaa5a60c9f3f8e3e565303b465dbf57a1b730e7a2b9844e0 \
|
||||||
|
--hash=sha256:bd1184ceb3f87651a67b2708d4c3338e9b10c5df903f2e3776b62303b26cb631 \
|
||||||
|
--hash=sha256:d06016f7f8625a1825ba3732081d77c94589dca78b7a3fc072194851e88461a4 \
|
||||||
|
--hash=sha256:d16bbddf0693323b8c6123dd804100241da461e41d6e332fb0ba6058f630f8c8
|
||||||
|
vdf==3.4 ; python_version >= "3.12" and python_version < "4.0" \
|
||||||
|
--hash=sha256:68c1a125cc49e343d535af2dd25074e9cb0908c6607f073947c4a04bbe234534 \
|
||||||
|
--hash=sha256:fd5419f41e07a1009e5ffd027c7dcbe43d1f7e8ef453aeaa90d9d04b807de2af
|
||||||
|
|||||||
Generated
+4
-4
@@ -119,7 +119,7 @@ version = "6.7.0"
|
|||||||
description = "Python bindings for the Qt cross platform application toolkit"
|
description = "Python bindings for the Qt cross platform application toolkit"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.8"
|
python-versions = ">=3.8"
|
||||||
groups = ["main", "dev"]
|
groups = ["dev"]
|
||||||
files = [
|
files = [
|
||||||
{file = "PyQt6-6.7.0-1-cp38-abi3-macosx_10_14_universal2.whl", hash = "sha256:656734112853fde1be0963f0ad362e5efd87ba6c6ff234cb1f9fe8003ee254e6"},
|
{file = "PyQt6-6.7.0-1-cp38-abi3-macosx_10_14_universal2.whl", hash = "sha256:656734112853fde1be0963f0ad362e5efd87ba6c6ff234cb1f9fe8003ee254e6"},
|
||||||
{file = "PyQt6-6.7.0-1-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:fa2d27fc2f5340f3f1e145c815101ef4550771a9e4bfafd4c7c2479fe83d9488"},
|
{file = "PyQt6-6.7.0-1-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:fa2d27fc2f5340f3f1e145c815101ef4550771a9e4bfafd4c7c2479fe83d9488"},
|
||||||
@@ -140,7 +140,7 @@ version = "6.7.3"
|
|||||||
description = "The subset of a Qt installation needed by PyQt6."
|
description = "The subset of a Qt installation needed by PyQt6."
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = "*"
|
python-versions = "*"
|
||||||
groups = ["main", "dev"]
|
groups = ["dev"]
|
||||||
files = [
|
files = [
|
||||||
{file = "PyQt6_Qt6-6.7.3-py3-none-macosx_10_14_x86_64.whl", hash = "sha256:f517a93b6b1a814d4aa6587adc312e812ebaf4d70415bb15cfb44268c5ad3f5f"},
|
{file = "PyQt6_Qt6-6.7.3-py3-none-macosx_10_14_x86_64.whl", hash = "sha256:f517a93b6b1a814d4aa6587adc312e812ebaf4d70415bb15cfb44268c5ad3f5f"},
|
||||||
{file = "PyQt6_Qt6-6.7.3-py3-none-macosx_11_0_arm64.whl", hash = "sha256:8551732984fb36a5f4f3db51eafc4e8e6caf18617365830285306f2db17a94c2"},
|
{file = "PyQt6_Qt6-6.7.3-py3-none-macosx_11_0_arm64.whl", hash = "sha256:8551732984fb36a5f4f3db51eafc4e8e6caf18617365830285306f2db17a94c2"},
|
||||||
@@ -155,7 +155,7 @@ version = "13.10.0"
|
|||||||
description = "The sip module support for PyQt6"
|
description = "The sip module support for PyQt6"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.9"
|
python-versions = ">=3.9"
|
||||||
groups = ["main", "dev"]
|
groups = ["dev"]
|
||||||
files = [
|
files = [
|
||||||
{file = "PyQt6_sip-13.10.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e7b1258963717cfae1d30e262bb784db808072a8a674d98f57c2076caaa50499"},
|
{file = "PyQt6_sip-13.10.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e7b1258963717cfae1d30e262bb784db808072a8a674d98f57c2076caaa50499"},
|
||||||
{file = "PyQt6_sip-13.10.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d27a3fed2a461f179d3cde6a74530fbad629ccaa66ed739b9544fda1932887af"},
|
{file = "PyQt6_sip-13.10.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d27a3fed2a461f179d3cde6a74530fbad629ccaa66ed739b9544fda1932887af"},
|
||||||
@@ -334,4 +334,4 @@ files = [
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.1"
|
lock-version = "2.1"
|
||||||
python-versions = ">=3.12,<4.0"
|
python-versions = ">=3.12,<4.0"
|
||||||
content-hash = "77f80ef6ef2075043826e77efc80fdacc537705142b39493709d7391481ab784"
|
content-hash = "07a067d9741cca4652b316e2c11571e36b3cbc179b1fd11fafe41dcdc2b8bbe1"
|
||||||
|
|||||||
+3
-1
@@ -13,11 +13,13 @@ dynamic = ["dependencies"]
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
package-mode = false
|
package-mode = false
|
||||||
|
|
||||||
|
[tool.poetry.requires-plugins]
|
||||||
|
poetry-plugin-export = ">=1.8"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
psutil = "^5.8.0"
|
psutil = "^5.8.0"
|
||||||
vdf = "3.4"
|
vdf = "3.4"
|
||||||
lzokay = "1.1.5"
|
lzokay = "1.1.5"
|
||||||
pyqt6 = "6.7.0"
|
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
mobase-stubs = "^2.5.2"
|
mobase-stubs = "^2.5.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user