Spaces:
Sleeping
Sleeping
add project configs
Browse files- .gitignore +73 -0
- Makefile +9 -0
- poetry.lock +0 -0
- pyproject.toml +25 -0
.gitignore
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Byte-compiled / optimized / DLL files
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.py[cod]
|
| 4 |
+
*$py.class
|
| 5 |
+
|
| 6 |
+
# C extensions
|
| 7 |
+
*.so
|
| 8 |
+
|
| 9 |
+
# Distribution / packaging
|
| 10 |
+
build/
|
| 11 |
+
dist/
|
| 12 |
+
*.egg-info/
|
| 13 |
+
.eggs/
|
| 14 |
+
*.egg
|
| 15 |
+
pip-wheel-metadata/
|
| 16 |
+
*.whl
|
| 17 |
+
|
| 18 |
+
# Installer logs
|
| 19 |
+
pip-log.txt
|
| 20 |
+
pip-delete-this-directory.txt
|
| 21 |
+
|
| 22 |
+
# Virtual environments
|
| 23 |
+
.env/
|
| 24 |
+
.venv/
|
| 25 |
+
venv/
|
| 26 |
+
ENV/
|
| 27 |
+
env.bak/
|
| 28 |
+
venv.bak/
|
| 29 |
+
|
| 30 |
+
# PyInstaller
|
| 31 |
+
*.manifest
|
| 32 |
+
*.spec
|
| 33 |
+
|
| 34 |
+
# Unit test / coverage reports
|
| 35 |
+
htmlcov/
|
| 36 |
+
.tox/
|
| 37 |
+
.nox/
|
| 38 |
+
.coverage
|
| 39 |
+
.coverage.*
|
| 40 |
+
.cache
|
| 41 |
+
nosetests.xml
|
| 42 |
+
coverage.xml
|
| 43 |
+
*.cover
|
| 44 |
+
*.py,cover
|
| 45 |
+
.hypothesis/
|
| 46 |
+
.pytest_cache/
|
| 47 |
+
|
| 48 |
+
# mypy
|
| 49 |
+
.mypy_cache/
|
| 50 |
+
.dmypy.json
|
| 51 |
+
dmypy.json
|
| 52 |
+
|
| 53 |
+
# pyre
|
| 54 |
+
.pyre/
|
| 55 |
+
|
| 56 |
+
# Pyright
|
| 57 |
+
pyrightconfig.json
|
| 58 |
+
|
| 59 |
+
# PyCharm
|
| 60 |
+
.idea/
|
| 61 |
+
|
| 62 |
+
# VS Code
|
| 63 |
+
.vscode/
|
| 64 |
+
|
| 65 |
+
# Jupyter Notebook
|
| 66 |
+
.ipynb_checkpoints
|
| 67 |
+
|
| 68 |
+
# Local .env files
|
| 69 |
+
.env.local
|
| 70 |
+
.env.*.local
|
| 71 |
+
|
| 72 |
+
# macOS
|
| 73 |
+
.DS_Store
|
Makefile
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.PHONY: format check
|
| 2 |
+
|
| 3 |
+
format:
|
| 4 |
+
poetry run ruff check --fix .
|
| 5 |
+
poetry run ruff format .
|
| 6 |
+
|
| 7 |
+
check:
|
| 8 |
+
poetry run ruff check .
|
| 9 |
+
poetry run ruff format --check .
|
poetry.lock
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
pyproject.toml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[tool.poetry]
|
| 2 |
+
package-mode = false
|
| 3 |
+
|
| 4 |
+
[tool.poetry.dependencies]
|
| 5 |
+
python = "^3.12"
|
| 6 |
+
pandas = "^2.2.3"
|
| 7 |
+
numpy = "^2.2.6"
|
| 8 |
+
wikipedia = "^1.4.0"
|
| 9 |
+
beautifulsoup4 = "^4.13.4"
|
| 10 |
+
chess = "^1.11.2"
|
| 11 |
+
smolagents = "^1.17.0"
|
| 12 |
+
whisper = "^1.1.10"
|
| 13 |
+
openpyxl = "^3.1.5"
|
| 14 |
+
gradio = "^5.32.1"
|
| 15 |
+
|
| 16 |
+
[tool.poetry.group.dev.dependencies]
|
| 17 |
+
ruff = "^0.11.12"
|
| 18 |
+
|
| 19 |
+
[tool.ruff]
|
| 20 |
+
line-length = 120
|
| 21 |
+
target-version = "py312"
|
| 22 |
+
|
| 23 |
+
[tool.ruff.lint]
|
| 24 |
+
select = ["I", "E4", "E7", "E9", "F", "B", "UP"]
|
| 25 |
+
ignore = ["E203", "E266", "E501"]
|