File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -4,29 +4,29 @@ default: check-lockfile lint type-check test
4
4
5
5
# Check if the lockfile is up to date
6
6
check-lockfile :
7
- uv lock --locked
7
+ uv lock --locked
8
8
9
9
# Lint code and check formatting
10
10
lint + dirs = " src tests": lint-justfile
11
- uv run ruff check {{ dirs }}
12
- uv run ruff format --check {{ dirs }}
11
+ uv run ruff check {{ dirs }}
12
+ uv run ruff format --check {{ dirs }}
13
13
14
14
lint-justfile :
15
- just --check --fmt --unstable
15
+ just --check --fmt --unstable
16
16
17
17
# Validate static types using mypy
18
18
type-check + dirs = " src":
19
- uv run mypy {{ dirs }}
19
+ uv run mypy {{ dirs }}
20
20
21
21
# Run tests using pytest
22
22
test $ COV = env("CI ", "false ") $ FRR_VERSION = FRR_LATEST_MAJOR_VERSION:
23
- #!/usr/bin/env bash
24
- set -euxo pipefail
23
+ #!/usr/bin/env bash
24
+ set -euxo pipefail
25
25
26
- args=()
27
- ( $COV == " true" ) && args+ =( " --cov" )
28
- uv run pytest tests ${args[@]}
26
+ args=()
27
+ ( $COV == " true" ) && args+ =( " --cov" )
28
+ uv run pytest tests ${args[@]}
29
29
30
- if [ $COV = " true" ]; then
31
- uv run coverage xml
32
- fi
30
+ if [ $COV = " true" ]; then
31
+ uv run coverage xml
32
+ fi
You can’t perform that action at this time.
0 commit comments