-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (78 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
91 lines (78 loc) · 1.97 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
[project]
name = "canvas"
version = "0.1.0"
description = "A modern FastAPI-based application for managing and orchestrating AI agents using CrewAI"
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = { file = "LICENSE" }
authors = [
{ name = "Rafsun Jany Arman", email = "armanrafsunjany@gmail.com" }
]
dependencies = [
"aio-pika>=9.5.5",
"asyncpg>=0.30.0",
"crewai>=0.114.0",
"crewai-tools>=0.40.1",
"fastapi>=0.115.9",
"greenlet>=3.1.1",
"gunicorn>=23.0.0",
"pydantic-settings>=2.8.1",
"redis>=5.2.1",
"sqlmodel>=0.0.24",
"uvicorn[standard]>=0.34.0",
]
[project.optional-dependencies]
dev = [
"black>=24.0.0",
"commitlint>=1.3.0",
"pre-commit>=4.2.0",
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"ruff>=0.3.0",
"mypy>=1.9.0",
]
[project.urls]
Homepage = "https://github.com/CrewsBoard/canvas"
Repository = "https://github.com/CrewsBoard/canvas.git"
Documentation = "https://github.com/CrewsBoard/canvas#readme"
[tool.black]
line-length = 120
target-version = ['py311']
include = '\.pyi?$'
[tool.ruff]
line-length = 120
include = ['**/*.py']
target-version = 'py311'
[tool.ruff.lint]
select = [
# Import rules
"TID252", # Relative imports
"F401", # Unused imports
"F403", # Star imports
"F405", # Import shadowed by loop variable
"E402", # Module level import not at top of file
"I001", # Unsorted imports
# Code style
"W", # pycodestyle warnings
"F", # pyflakes
"B", # flake8-bugbear
"N", # pep8-naming
# @todo enable this after properly docstring the code
# Docstring
# "D",
# Security
"S",
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["core/tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"
[tool.hatch.build.targets.wheel]
packages = ["core"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"