forked from bugninja-ai/bugninja
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (95 loc) · 2.8 KB
/
pyproject.toml
File metadata and controls
110 lines (95 loc) · 2.8 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[project]
name = "bugninja"
version = "0.1.8"
description = "AI-Powered Browser Automation"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "Ákos Jakub", email = "akos.jakub@bugninja.ai"},
{name = "Tamás Imets", email = "tamas.imets@bugninja.ai"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
]
keywords = ["browser", "automation", "ai", "testing", "web", "e2e testing", "bugninja"]
dependencies = [
"black==25.1.0",
"browser-use[memory]==0.2.5",
"celery[redis]==5.5.3",
"click>=8.2.1",
"cssselect==1.3.0",
"cuid2==2.0.1",
"faker==37.4.0",
"fastapi==0.115.13",
"hypercorn==0.17.3",
"isort==6.0.1",
"jira>=3.10.5",
"lxml==5.4.0",
"mypy==1.16.0",
"openai==1.84.0",
"opencv-python>=4.11.0.86",
"pillow==11.3.0",
"polyfactory==2.22.0",
"pydantic==2.10.6",
"pydantic-settings>=2.10.1",
"pytest==8.4.1",
"pytest-asyncio==1.0.0",
"pytest-pretty>=1.3.0",
"python-dotenv==1.1.0",
"python-ffmpeg>=2.0.12",
"python-redmine==2.5.0",
"redis==5.2.1",
"rich==14.1.0",
"rich-click>=1.8.9",
"ruff==0.11.13",
"tomli>=2.2.1",
"tomli-w>=1.2.0",
"typer>=0.16.0",
"types-lxml==2025.3.30",
"types-pillow==10.2.0.20240822",
"uvloop>=0.21.0",
]
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project.scripts]
bugninja = "bugninja_cli:bugninja"
[tool.setuptools.packages.find]
include = ["bugninja*", "bugninja_cli*"]
exclude = ["tests*", "logs*", "data_dir*", "screenshots*"]
[tool.setuptools.package-data]
"bugninja" = ["prompts/*.md"]
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"] # ignore unused imports in __init__.py files
# "test_*.py" = ["F401", "F403", "F811"] # ignore unused imports in test files as well
[tool.black]
line-length = 100
target-version = ["py313"]
[tool.isort]
profile = "black"
extend_skip = ["__init__.py"]
[tool.mypy]
python_version = "3.13"
strict = true
check_untyped_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
[tool.poe.tasks]
#? Development related commands
[tool.poe.tasks.replay]
help = "Replay (and potentially heal if necessary) the last saved traversal"
shell = "uv run python replay.py"
[tool.poe.tasks.lint]
help = "Lints the whole project searching for inefficiencies in the code"
shell = """
uv run ruff check --fix bugninja bugninja_cli examples/testing/library . &&
uv run isort bugninja bugninja_cli examples/testing/library . &&
uv run black bugninja bugninja_cli examples/testing/library . &&
uv run mypy bugninja bugninja_cli examples/testing/library
"""