Skip to content

Commit 5a6a047

Browse files
committed
Tidy diff
1 parent f69d899 commit 5a6a047

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,20 @@ repos:
1010

1111
- repo: local
1212
hooks:
13-
# Run the linter.
1413
- id: ruff
1514
name: lint with ruff
1615
language: system
1716
entry: ruff check --force-exclude --fix
1817
types: [python]
1918
require_serial: true
2019

21-
# Run the formatter.
2220
- id: ruff-format
2321
name: format with ruff
2422
language: system
2523
entry: ruff format --force-exclude
2624
types: [python]
2725
require_serial: true
2826

29-
# Make sure lock file satisfies dependencies in pyproject.toml.
3027
- id: uv-sync
3128
name: update uv.lock and venv
3229
pass_filenames: false

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ FROM ghcr.io/diamondlightsource/ubuntu-devcontainer:noble AS developer
44

55
# Add any system dependencies for the developer/build environment here
66
RUN apt-get update && apt-get install -y --no-install-recommends \
7-
graphviz && \
8-
apt-get dist-clean
7+
graphviz \
8+
&& apt-get dist-clean

template/Dockerfile.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ FROM ghcr.io/diamondlightsource/ubuntu-devcontainer:noble AS developer
44

55
# Add any system dependencies for the developer/build environment here
66
RUN apt-get update && apt-get install -y --no-install-recommends \
7-
graphviz && \
8-
apt-get dist-clean{% if docker %}
7+
graphviz \
8+
&& apt-get dist-clean{% if docker %}
99

1010
# The build stage installs the context into the venv
1111
FROM developer AS build

0 commit comments

Comments
 (0)