-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
52 lines (35 loc) · 896 Bytes
/
Copy pathREADME
File metadata and controls
52 lines (35 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
LD_AUDIT-based runtime shared library path filter to help Flatpak
applications cope with badly behaving programs.
Versioning follows YY.MM.release
Format:
C code is formatted using Uncrustify [1]. `./uncrustify.sh` can be
executed to format them.
Python development environment can be set up using uv [2].
```
uv sync --all-extras --all-groups --frozen
```
Python code is formatted and linted using Ruff [3].
```
uv run ruff format
uv run ruff check . --fix
```
Type checking for Python code is done using Mypy [4].
```
uv run mypy .
```
Build:
```
meson setup --reconfigure builddir -Dtests=true
meson compile -C builddir
```
Test:
```
meson test -C builddir
uv run pytest
# Requires network
./tests/run_block_test.sh
```
[1]: https://github.com/uncrustify/uncrustify
[2]: https://docs.astral.sh/uv/
[3]: https://docs.astral.sh/ruff/
[4]: https://mypy.readthedocs.io/en/stable/