mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-17 03:44:27 +03:00
Compare commits
2 Commits
pre-commit
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7eced183e4 | ||
|
|
65a0e29112 |
@@ -19,13 +19,13 @@ repos:
|
|||||||
- id: mixed-line-ending # replaces or checks mixed line ending
|
- id: mixed-line-ending # replaces or checks mixed line ending
|
||||||
- id: trailing-whitespace # checks for trailing whitespace
|
- id: trailing-whitespace # checks for trailing whitespace
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.14.9
|
rev: v0.12.12
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [ --fix, --exit-non-zero-on-fix ]
|
args: [ --fix, --exit-non-zero-on-fix ]
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
rev: v0.47.0
|
rev: v0.45.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
args: ["--fix"]
|
args: ["--fix"]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM python:3.13-alpine3.21 AS base
|
FROM python:3.14-alpine3.23 AS base
|
||||||
|
|
||||||
FROM base AS compiler
|
FROM base AS compiler
|
||||||
|
|
||||||
@@ -19,9 +19,9 @@ RUN apk add --no-cache gcc musl-dev && \
|
|||||||
pip install -r requirements.txt && \
|
pip install -r requirements.txt && \
|
||||||
pip uninstall -y pip wheel && \
|
pip uninstall -y pip wheel && \
|
||||||
apk del gcc musl-dev && \
|
apk del gcc musl-dev && \
|
||||||
python3 -m compileall -b -f /usr/local/lib/python3.13/site-packages && \
|
python3 -m compileall -b -f /usr/local/lib/python3.14/site-packages && \
|
||||||
find /usr/local/lib/python3.13/site-packages -name "*.py" -type f -delete && \
|
find /usr/local/lib/python3.14/site-packages -name "*.py" -type f -delete && \
|
||||||
find /usr/local/lib/python3.13/ -name "__pycache__" -type d -exec rm -rf {} +
|
find /usr/local/lib/python3.14/ -name "__pycache__" -type d -exec rm -rf {} +
|
||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user