2023-09-15 19:35:32 -05:00
|
|
|
# note: this file is for local development, currently the file is not used to build
|
|
|
|
|
# the plugin
|
2025-02-28 19:55:08 +01:00
|
|
|
[project]
|
2023-09-15 19:35:32 -05:00
|
|
|
name = "basic-games"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = ""
|
|
|
|
|
authors = []
|
|
|
|
|
license = "MIT"
|
|
|
|
|
readme = "README.md"
|
2025-02-28 19:55:08 +01:00
|
|
|
requires-python = ">=3.12,<4.0"
|
|
|
|
|
dynamic = ["dependencies"]
|
|
|
|
|
|
|
|
|
|
[tool.poetry]
|
|
|
|
|
package-mode = false
|
2023-09-15 19:35:32 -05:00
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2024-06-09 12:25:46 +02:00
|
|
|
psutil = "^5.8.0"
|
2023-09-15 19:35:32 -05:00
|
|
|
vdf = "3.4"
|
|
|
|
|
lzokay = "1.1.5"
|
2024-06-09 12:25:46 +02:00
|
|
|
pyqt6 = "6.7.0"
|
2023-09-15 19:35:32 -05:00
|
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
2025-02-28 19:55:08 +01:00
|
|
|
mobase-stubs = "^2.5.2"
|
2024-06-09 12:25:46 +02:00
|
|
|
pyqt6 = "^6.7.0"
|
2025-04-25 08:23:10 +02:00
|
|
|
pyright = "^1.1.400"
|
|
|
|
|
ruff = "^0.11.7"
|
2024-06-09 12:25:46 +02:00
|
|
|
types-psutil = "^5.9.5.20240516"
|
2025-04-25 08:23:10 +02:00
|
|
|
poethepoet = "^0.34.0"
|
2023-09-15 19:35:32 -05:00
|
|
|
|
|
|
|
|
[build-system]
|
2025-02-28 19:55:08 +01:00
|
|
|
requires = ["poetry-core (>=2.0)"]
|
2023-09-15 19:35:32 -05:00
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
2023-09-25 20:34:50 +02:00
|
|
|
[tool.poe.tasks]
|
2024-06-09 12:25:46 +02:00
|
|
|
format-imports = "ruff check --select I . --fix"
|
|
|
|
|
format-ruff = "ruff format ."
|
|
|
|
|
format.sequence = ["format-imports", "format-ruff"]
|
|
|
|
|
lint-ruff = "ruff check ."
|
|
|
|
|
lint-ruff-format = "ruff format --check ."
|
2023-09-25 20:34:50 +02:00
|
|
|
lint-pyright = "pyright ."
|
2024-06-09 12:25:46 +02:00
|
|
|
lint.sequence = ["lint-ruff", "lint-ruff-format", "lint-pyright"]
|
|
|
|
|
lint.ignore_fail = "return_non_zero"
|
2023-09-15 19:35:32 -05:00
|
|
|
|
|
|
|
|
[tool.ruff]
|
2024-06-09 12:25:46 +02:00
|
|
|
target-version = "py310"
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
|
extend-select = ["B", "Q", "I"]
|
|
|
|
|
|
2025-05-21 21:22:48 +02:00
|
|
|
[tool.ruff.lint.flake8-bugbear]
|
|
|
|
|
extend-immutable-calls = ["PyQt6.QtCore.QModelIndex"]
|
|
|
|
|
|
2024-06-09 12:25:46 +02:00
|
|
|
[tool.ruff.lint.isort]
|
2025-04-25 08:23:10 +02:00
|
|
|
known-first-party = ["mobase"]
|
2023-09-15 19:35:32 -05:00
|
|
|
|
|
|
|
|
[tool.pyright]
|
2024-02-13 08:55:04 +01:00
|
|
|
exclude = ["lib", "**/.*", "venv"]
|
2023-09-15 19:35:32 -05:00
|
|
|
typeCheckingMode = "strict"
|
2024-06-09 12:25:46 +02:00
|
|
|
reportMissingTypeStubs = true
|
2023-09-15 19:35:32 -05:00
|
|
|
reportMissingModuleSource = false
|
2024-06-09 12:25:46 +02:00
|
|
|
pythonPlatform = "Windows"
|