Skip to content

Commit eb3db9e

Browse files
committed
Refactor docstrings and update Python version requirement in pyproject.toml
1 parent fd54185 commit eb3db9e

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/python.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@ name: Build
22

33
jobs:
44
build:
5-
name: Build
5+
name: Lint
66
runs-on: ubuntu-22.04
7-
87
steps:
9-
- uses: actions/checkout@v5
8+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
109

11-
- name: "Set up Python"
12-
uses: actions/setup-python@v6
10+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
1311
with:
1412
python-version-file: "pyproject.toml"
1513

16-
- name: Install uv
17-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
14+
- uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
15+
16+
- run: uv run pre-commit --all-files

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,3 @@ ENV SERVER_BASE_PATH="/home/nonroot/assets"
3434
CMD ["uvicorn", "src.bss_web_file_server.main:app", "--host", "0.0.0.0", "--port", "80"]
3535

3636
EXPOSE 80
37-
LABEL org.opencontainers.image.source="https://github.com/BSStudio/bss-web-file-api"
38-
LABEL org.opencontainers.image.description="BSS Web file API"
39-
LABEL org.opencontainers.image.licenses="GPL-3.0"

0 commit comments

Comments
 (0)