Spaces:
Sleeping
Sleeping
initial_commit
Browse files- .pre-commit-config.yaml +15 -0
- .vscode/settings.json +10 -0
- poetry.lock +0 -0
- poetry.toml +3 -0
- pyproject.toml +29 -0
.pre-commit-config.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
repos:
|
| 2 |
+
- repo: https://github.com/pycqa/isort
|
| 3 |
+
rev: 5.12.0
|
| 4 |
+
hooks:
|
| 5 |
+
- id: isort
|
| 6 |
+
name: isort (python)
|
| 7 |
+
- repo: https://github.com/psf/black
|
| 8 |
+
rev: 23.3.0
|
| 9 |
+
hooks:
|
| 10 |
+
- id: black
|
| 11 |
+
language_version: python3.11
|
| 12 |
+
- repo: https://github.com/pycqa/flake8
|
| 13 |
+
rev: 6.0.0
|
| 14 |
+
hooks:
|
| 15 |
+
- id: flake8
|
.vscode/settings.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"[python]": {
|
| 3 |
+
"editor.defaultFormatter": "charliermarsh.ruff",
|
| 4 |
+
"editor.formatOnSave": true,
|
| 5 |
+
"editor.codeActionsOnSave": {
|
| 6 |
+
"source.fixAll": "explicit",
|
| 7 |
+
"source.organizeImports": "explicit"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
}
|
poetry.lock
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
poetry.toml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[virtualenvs]
|
| 2 |
+
create = true
|
| 3 |
+
in-project = true
|
pyproject.toml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[tool.poetry]
|
| 2 |
+
name = "demo"
|
| 3 |
+
version = "0.0.0"
|
| 4 |
+
description = "a small agent demo"
|
| 5 |
+
package-mode = false
|
| 6 |
+
authors = [
|
| 7 |
+
"Maksym Sevkovych <m.sevkovych@web.de>",
|
| 8 |
+
]
|
| 9 |
+
|
| 10 |
+
[tool.poetry.dependencies]
|
| 11 |
+
python = ">=3.10,<3.12"
|
| 12 |
+
smolagents = "^1.8.1"
|
| 13 |
+
pandas = "^2.2.3"
|
| 14 |
+
duckduckgo-search = "^7.3.2"
|
| 15 |
+
markdownify = "^0.14.1"
|
| 16 |
+
requests = "^2.32.3"
|
| 17 |
+
pyyaml = "^6.0.2"
|
| 18 |
+
gradio = "^5.16.0"
|
| 19 |
+
regex = "^2024.11.6"
|
| 20 |
+
|
| 21 |
+
[tool.poetry.group.dev.dependencies]
|
| 22 |
+
black = "^23.9.1"
|
| 23 |
+
flake8 = "^6.1.0"
|
| 24 |
+
isort = "^5.12.0"
|
| 25 |
+
pre-commit = "^3.5.0"
|
| 26 |
+
|
| 27 |
+
[build-system]
|
| 28 |
+
requires = ["poetry-core>=1.0.0"]
|
| 29 |
+
build-backend = "poetry.core.masonry.api"
|