File size: 1,591 Bytes
558414b
825b8cd
558414b
825b8cd
558414b
 
 
 
 
 
 
 
 
 
825b8cd
558414b
 
 
 
a310155
558414b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d554492
558414b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d554492
 
 
 
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
[project]
name = "atheon-in-action"
version = "0.0.0"
description = "Huggingface Demo showcasing how Atheon works"
authors = [{ name = "Saurabh Ghanekar", email = "ghanekarsaurabh8@gmail.com" }]
license = "BSD-2-Clause"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "fastapi-slim>=0.115",
    "uvicorn>=0.34",
    "pydantic>=2.10",
    "pillow>=11.1",
    "atheon-codex>=0.3",
    "llama-cpp-python>=0.3",
    "huggingface-hub>=0.29",
    "pymongo>=4.11",
    "email-validator>=2.2",
    "groq>=0.20",
]


[dependency-groups]
dev = ["click>=8.1", "pre-commit>=4.0", "rich>=13.9", "ruff>=0.9"]
test = ["pytest>=8.3", "pytest-cov>=6.0"]


[tool.uv]
default-groups = ["dev", "test"]


[tool.ruff]
line-length = 88


[tool.ruff.lint]
select = [
    # "D",      # pydocstyle
    "E",      # pycodestyle errors
    "W",      # pycodestyle warnings
    "F",      # pyflakes
    "I",      # isort
    "S",      # flake8-bandit
    "B",      # flake8-bugbear
    "C4",     # flake8-comprehensions
    "UP",     # pyupgrade
    "ARG001", # unused arguments in functions
]
ignore = [
    "E501", # line too long, handled by black
    "B008", # do not perform function calls in argument defaults
    "W191", # indentation contains tabs
    "B904", # Allow raising exceptions without from e, for HTTPException
]


[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.versioning]
backend = "uv"

[tool.versioning.files]
version_variable = ["app/app/main.py:__version__"]

[tool.tailwind_sorter]
file_patterns = [".html"]
class_attributes = ["class"]