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
If you plan to make pull requests to the qonnx repo, linting will be required.
144
+
We use a pre-commit hook to auto-format Python code and check for issues. See https://pre-commit.com/ for installation. Once you have `pre-commit`,
145
+
you can install the hooks into your local clone of the qonnx repo:
146
+
147
+
```
148
+
cd qonnx
149
+
source venv/bin/activate
150
+
pip install pre-commit
151
+
pre-commit install
152
+
```
153
+
154
+
Every time you commit some code, the pre-commit hooks will first run, performing various checks and fixes. In some cases pre-commit won’t be able to
155
+
fix the issues and you may have to fix it manually, then run git commit once again. The checks are configured in .pre-commit-config.yaml under the repo root.
156
+
138
157
## Why QONNX?
139
158
140
159
The QONNX representation has several advantages compared to other alternatives, as summarized in the table below.
0 commit comments