Skip to content

Commit 57b0808

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents 65085ba + 159698c commit 57b0808

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

.mega-linter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
APPLY_FIXES: all
22
DISABLE_LINTERS:
33
- JSON_JSONLINT
4+
- PYTHON_FLAKE8
45
- PYTHON_ISORT
6+
- PYTHON_MYPY
57
- PYTHON_PYLINT
68
- PYTHON_PYRIGHT
79
- SPELL_CSPELL
810
DISABLE_ERRORS_LINTERS:
911
- COPYPASTE_JSCPD
10-
- REPOSITORY_DEVSKIM
1112
- REPOSITORY_KICS
1213
FAIL_IF_UPDATED_SOURCES: true
1314
GITHUB_STATUS_REPORTER: true
1415
PYTHON_DEFAULT_STYLE: ruff
16+
REPOSITORY_SEMGREP_RULESETS: [p/default]
1517
SARIF_REPORTER: true
1618
VALIDATE_ALL_CODEBASE: false

.pre-commit-config.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ default_stages:
55
- pre-commit
66

77
repos:
8-
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
9-
rev: v0.6.1
10-
hooks:
11-
- id: pre-commit-update
12-
138
- repo: https://github.com/pre-commit/pre-commit
149
rev: v4.1.0
1510
hooks:
@@ -95,7 +90,7 @@ repos:
9590
- id: taplo-format
9691

9792
- repo: https://github.com/astral-sh/uv-pre-commit
98-
rev: 0.6.2
93+
rev: 0.6.3
9994
hooks:
10095
- id: uv-lock
10196

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ARG PIP_DISABLE_PIP_VERSION_CHECK=1 \
5050
UV_NO_CACHE=1
5151

5252
# set up python
53-
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:01ddc2a91588f1210396433c79c9f58848ad668ea05bda895f5a1a31f2e5b64f /uv /uvx /bin/
53+
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:8257f3d17fd04794feaf89d83b4ccca3b2eaa5501de9399fa53929843c0a5b55 /uv /uvx /bin/
5454
COPY pyproject.toml uv.lock ./
5555
RUN --mount=type=cache,target=/root/.cache/uv \
5656
uv venv --seed "${VIRTUAL_ENV}" && \

src/example_app/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Settings(BaseSettings):
1010
environment: str = "dev"
1111

1212
# gunicorn
13-
host: str = "127.0.0.1"
13+
host: str = "127.0.0.1" # devskim: ignore DS162092
1414
port: int = 8000
1515
web_concurrency: int = 2
1616

0 commit comments

Comments
 (0)