-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to using uv for package management * Reformat code with ruff * Remove broken plugins * Resolve most linter warnings * First round of plugin pruning * Clean up more plugins * Move DID into FAQ command * Remove prometheus * Clean up dependencies; Remove sentiment analysis command to enable removing of NLTK * WIP migration to module * Re-implement sentry monitoring * Basic plugin system * Port help & LMGTFY * Port number facts * Port remainder of plugins * Plugin shared base class * __init__ * Add missed plugin to plugin list * Update readme * Upgrade dependencies * Standardize on httpx, remove requests * Fix dockerfile * Add env to dockerignore * Remove unused config values
- Loading branch information
Showing
127 changed files
with
1,173 additions
and
3,765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
data/ | ||
.dockerignore | ||
.env | ||
mounted_plugins/ | ||
.env.dist | ||
.git | ||
.github | ||
.gitignore | ||
.python-version | ||
.ruff_cache | ||
.venv | ||
.vscode | ||
**/__pycache__/ | ||
**/.DS_Store | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"[python]": { | ||
"editor.defaultFormatter": "charliermarsh.ruff" | ||
}, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "always", | ||
"source.organizeImports": "always", | ||
"source.unusedImports": "always" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
FROM python:3.11-alpine3.18 | ||
COPY . /app | ||
FROM ghcr.io/astral-sh/uv:python3.12-alpine | ||
|
||
WORKDIR /app | ||
RUN apk --update add --virtual build-dependencies gcc musl-dev libxml2-dev libxslt-dev --no-cache \ | ||
&& pip install -r requirements.txt \ | ||
&& apk del build-dependencies | ||
|
||
CMD ["python", "Bot.py"] | ||
COPY pyproject.toml uv.lock ./ | ||
RUN uv sync --frozen | ||
ENV PATH="/app/.venv/bin:$PATH" | ||
|
||
COPY . . | ||
|
||
CMD ["python", "-m", "automata"] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.