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
3. Run `make test` and `make format ` to check that the tests pass and fix your formatting. This will also install the prerequirements defined in pyproject.toml.
108
+
4. Run `make test` and `make format ` to check that the tests pass and fix your formatting. This will also install the prerequirements defined in pyproject.toml.
107
109
108
-
4. Use [Flit](https://flit.readthedocs.io/en/latest/) to install Snooty. The module will be symlinked (via `-s`) to allow for testing changes without reinstalling the module.
110
+
5. You can activate a shell where the `snooty` command is available by running:
109
111
110
112
```shell
111
-
flit install -s
113
+
poetry shell
114
+
115
+
snooty build <docs_property_path>
112
116
```
113
117
114
118
### Running tests
115
119
116
120
To run tests for a specific file:
117
121
118
122
```shell
119
-
. .venv/bin/activate
120
-
pytest snooty/test_<file>.py
123
+
poetry run pytest snooty/test_<file>.py
121
124
```
122
125
123
126
### Code Coverage
124
127
125
-
Install [Coverage](https://coverage.readthedocs.io/en/v4.5.x/). After running tests via `make format test`, run:
128
+
Install [Coverage](https://coverage.readthedocs.io/). After running tests via `make format test`, run:
0 commit comments