-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (51 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
61 lines (51 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# note: this file is for local development, currently the file is not used to build
# the plugin
[project]
name = "basic-games"
version = "0.1.0"
description = ""
authors = []
license = "MIT"
readme = "README.md"
requires-python = ">=3.13,<4.0"
dynamic = ["dependencies"]
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
psutil = "^7.2.2"
vdf = "^3.4"
lzokay = "^2.1.0"
pyqt6 = "6.11.0"
pyyaml = "^6.0.3"
[tool.poetry.group.dev.dependencies]
mobase-stubs = "^2.5.2"
pyright = "^1.1.409"
ruff = "^0.15.14"
types-psutil = "^7.2.2.20260518"
poethepoet = "^0.46.0"
[build-system]
requires = ["poetry-core (>=2.0)"]
build-backend = "poetry.core.masonry.api"
[tool.poe.tasks]
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 ."
lint-pyright = "pyright ."
lint.sequence = ["lint-ruff", "lint-ruff-format", "lint-pyright"]
lint.ignore_fail = "return_non_zero"
[tool.ruff]
extend-exclude = ["typings"]
[tool.ruff.lint]
extend-select = ["B", "Q", "I"]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["PyQt6.QtCore.QModelIndex"]
[tool.ruff.lint.isort]
known-first-party = ["mobase"]
[tool.pyright]
exclude = ["lib", "**/.*", "venv", "typings"]
typeCheckingMode = "strict"
reportMissingTypeStubs = true
reportMissingModuleSource = false
pythonPlatform = "Windows"