-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
41 lines (34 loc) · 849 Bytes
/
pyproject.toml
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
[tool.poetry]
name = "deovr-json-gen"
version = "0.1.0"
description = "DeoVR JSON Generator"
authors = ["Md Zubair Beg <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
pymediainfo = "^6.1.0"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.24.4"
pre-commit = "^3.6.0"
black = "^23.12.1"
mypy = "^1.8.0"
ruff = "^0.1.13"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
# https://docs.astral.sh/ruff/rules/
extend-select = ["I", "N", "PT", "UP"]
extend-safe-fixes = ["UP007"]
target-version = "py311"
[tool.mypy]
ignore_missing_imports = true
[tool.poe.tasks]
run-app = "python main.py"
code-check = "pre-commit run --all-files"
code-format = "black ."
code-lint = "ruff --fix ."
code-type-check = "mypy ."