-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (60 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
71 lines (60 loc) · 1.5 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
62
63
64
65
66
67
68
69
70
71
[project]
name = "fortscript"
version = "0.4.0"
authors = [
{ name="Wesley Queiroz" },
]
description = "Pause your scripts automatically when gaming or running heavy apps."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICEN[CS]E*"]
dependencies = [
"psutil>=7.1.3",
"pydantic>=2.12.5",
"pyyaml>=6.0.3",
"rich>=14.2.0",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.scripts]
fort = "fortscript.cli.cli:main"
[project.urls]
Repository = "https://github.com/WesleyQDev/fortscript"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"ruff>=0.14.10",
"taskipy>=1.2.1",
"vermin>=1.8.0",
]
[tool.ruff]
line-length = 79
extend-exclude = ["migrations"]
[tool.ruff.lint]
select = ['I','F', 'E', 'W', 'PL', 'PT']
[tool.ruff.format]
preview = true
quote-style = 'single'
[tool.pytest.ini_options]
pythonpath = ["src"]
addopts = '-p no:warnings'
[tool.taskipy.tasks]
lint = "ruff check ."
pre_format = 'ruff check --fix'
format = "ruff format ."
run = 'python -m fortscript.cli.cli'
pre_test = "task lint"
test = "pytest -s -x --cov=fortscript -vv"
post_test = 'coverage html'