-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.44 KB
/
pyproject.toml
File metadata and controls
50 lines (43 loc) · 1.44 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
[tool.poetry]
name = "n0mail"
version = "0.2.1" # M2 Alpha
description = "AI Email Assistant (M2 Alpha)"
authors = ["Codegass <wchweichenhao@gmail.com>"]
readme = "README.md"
license = "Apache-2.0"
[tool.poetry.dependencies]
python = "^3.10"
typer = {extras = ["all"], version = ">=0.12.0"}
rich = ">=13.0.0"
prompt-toolkit = ">=3.0.0"
sqlalchemy = "^2.0.0" # Using SQLAlchemy 2.0 for modern features
# pysqlcipher3 = "^1.1.0" # Check for compatibility and installation requirements
chromadb = "^0.5.0" # Vector DB
google-api-python-client = "^2.100.0"
google-auth-oauthlib = "^1.0.0"
openai = ">=1.14.0"
keyring = "^25.0.0"
python-dotenv = "^1.0.0"
apscheduler = "^3.10.0"
pydantic = "^2.0.0" # Useful for data validation and models
markdownify = "^0.11.6" # Added for HTML to Markdown conversion
beautifulsoup4 = "^4.12.3" # Added for HTML cleaning
ollama = "^0.4.8" #
google-generativeai = "^0.8.5"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
ruff = "^0.11.6"
[tool.poetry.scripts]
n0mail = "n0mail.cli.main:app" # Define the entry point for the CLI
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
# select = ["E", "F", "W", "I", "UP", "PL", "RUF"] # Enable common linters + import sorting
# ignore = ["E501"] # Ignore line length errors, handled by formatter
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "PL", "RUF"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"