You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ wheels from source.
7
7
8
8
Fromager is designed to guarantee that:
9
9
10
-
* Every binary package you install was built from source in a reproducible environment compatible with your own.
10
+
- Every binary package you install was built from source in a reproducible environment compatible with your own.
11
11
12
-
* All dependencies are also built from source, no prebuilt binaries.
12
+
- All dependencies are also built from source, no prebuilt binaries.
13
13
14
-
* The build tools themselves are built from source, ensuring a fully transparent toolchain.
14
+
- The build tools themselves are built from source, ensuring a fully transparent toolchain.
15
15
16
-
* Builds can be customized for your needs: applying patches, adjusting compiler options, or producing build variants.
16
+
- Builds can be customized for your needs: applying patches, adjusting compiler options, or producing build variants.
17
17
18
18
## Design Principles
19
19
@@ -23,9 +23,9 @@ Fromager automates the build process with sensible defaults that work for most P
23
23
24
24
Fromager can also build wheels in collections, rather than individually. Managing dependencies as a unified group ensures that:
25
25
26
-
* Packages built against one another remain ABI-compatible.
26
+
- Packages built against one another remain ABI-compatible.
27
27
28
-
* All versions are resolved consistently, so the resulting wheels can be installed together without conflicts.
28
+
- All versions are resolved consistently, so the resulting wheels can be installed together without conflicts.
29
29
30
30
This approach makes Fromager especially useful in Python-heavy domains like AI, where reproducibility and compatibility across complex dependency trees are essential.
Copy file name to clipboardExpand all lines: docs/develop.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,32 @@
1
1
# Developing these tools
2
2
3
+
## Pre-commit hooks
4
+
5
+
The project uses [pre-commit](https://pre-commit.com/) to run linters and formatters automatically on each commit. This ensures consistent code quality across all contributions.
6
+
7
+
### Setup
8
+
9
+
Install the hooks once after cloning:
10
+
11
+
```bash
12
+
hatch run lint:install-hooks
13
+
```
14
+
15
+
### Running hooks
16
+
17
+
Hooks run automatically when you commit. To run all hooks manually:
18
+
19
+
```bash
20
+
hatch run lint:precommit
21
+
```
22
+
23
+
### What the hooks check
24
+
25
+
-**File formatting**: Trailing whitespace, final newlines, YAML/TOML syntax
0 commit comments