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
|
|
|
|
|
[tool.poetry]
|
|
|
|
|
name = "basic-games"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = ""
|
|
|
|
|
authors = []
|
|
|
|
|
license = "MIT"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2024-06-09 12:25:46 +02:00
|
|
|
python = "^3.12"
|
|
|
|
|
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]
|
2024-06-09 12:25:46 +02:00
|
|
|
mobase-stubs = { version = "^2.5.1a0", allow-prereleases = true }
|
|
|
|
|
pyqt6 = "^6.7.0"
|
|
|
|
|
pyright = "^1.1.365"
|
2024-02-13 08:55:04 +01:00
|
|
|
ruff = "^0.2.1"
|
2024-06-09 12:25:46 +02:00
|
|
|
types-psutil = "^5.9.5.20240516"
|
2023-09-25 20:34:50 +02:00
|
|
|
poethepoet = "^0.23.0"
|
2023-09-15 19:35:32 -05:00
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
|
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"]
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint.isort]
|
|
|
|
|
known-first-party = ['tas']
|
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"
|