File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,20 @@ repos:
10
10
11
11
- repo : local
12
12
hooks :
13
- # Run the linter.
14
13
- id : ruff
15
14
name : lint with ruff
16
15
language : system
17
16
entry : ruff check --force-exclude --fix
18
17
types : [python]
19
18
require_serial : true
20
19
21
- # Run the formatter.
22
20
- id : ruff-format
23
21
name : format with ruff
24
22
language : system
25
23
entry : ruff format --force-exclude
26
24
types : [python]
27
25
require_serial : true
28
26
29
- # Make sure lock file satisfies dependencies in pyproject.toml.
30
27
- id : uv-sync
31
28
name : update uv.lock and venv
32
29
pass_filenames : false
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ FROM ghcr.io/diamondlightsource/ubuntu-devcontainer:noble AS developer
4
4
5
5
# Add any system dependencies for the developer/build environment here
6
6
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
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ FROM ghcr.io/diamondlightsource/ubuntu-devcontainer:noble AS developer
4
4
5
5
# Add any system dependencies for the developer/build environment here
6
6
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 %}
9
9
10
10
# The build stage installs the context into the venv
11
11
FROM developer AS build
You can’t perform that action at this time.
0 commit comments