-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from CDU-data-science-team/0.5.5
0.5.5
- Loading branch information
Showing
40 changed files
with
12,657 additions
and
2,148 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
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,30 @@ | ||
exclude: '(build|datasets|current_best_multilabel|docs)/.*' | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.3.0 | ||
hooks: | ||
- id: check-added-large-files | ||
name: Check for files larger than 75 MB | ||
args: [ "--maxkb=750000" ] | ||
- id: end-of-file-fixer | ||
name: Check for a blank line at the end of scripts (auto-fixes) | ||
exclude: 'json' | ||
- id: trailing-whitespace | ||
name: Check for trailing whitespaces (auto-fixes) | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
name: isort - Sort Python imports (auto-fixes) | ||
args: [ "--profile", "black", "--filter-files" ] | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.0.272 | ||
hooks: | ||
- id: ruff | ||
name: Ruff linting | ||
- repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
hooks: | ||
- id: black | ||
name: black - consistent Python code formatting (auto-fixes) |
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,14 @@ | ||
FROM python:3.10.12-slim-bookworm | ||
VOLUME /data | ||
|
||
COPY docker-requirements.txt requirements.txt | ||
RUN pip install --upgrade pip setuptools \ | ||
&& pip install -r requirements.txt \ | ||
&& rm -rf /root/.cache | ||
|
||
COPY api/bert_sentiment bert_sentiment | ||
COPY --chmod=755 docker_run.py docker_run.py | ||
|
||
LABEL org.opencontainers.image.source=https://github.com/cdu-data-science-team/pxtextmining | ||
|
||
ENTRYPOINT ["python3", "docker_run.py"] |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.