Skip to content

Commit 285350c

Browse files
authored
update docs (#162)
* update docs * test * remove file
1 parent b4518f8 commit 285350c

File tree

4 files changed

+18
-23
lines changed

4 files changed

+18
-23
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Instructions for working with the code are found here:
1010

1111
- [How to set up the environment](setup.md)
1212
- [How to test the project](tests.md)
13-
- [Code style](style.md)
13+
- [How to make a release](release_procedure.md)

docs/setup.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## Set Up Environment
22

3-
- Make sure you have `python >= 3.8` installed. </br></br>
4-
- Install poetry if you still don't have: </br> `pip install poetry`</br> </br>
5-
- Install the project dependencies with: </br> `poetry update -vvv` </br></br>
6-
- Enter the virtual environment: </br> `poetry shell`</br></br>
7-
- Run all tests to make sure the project is ok: </br> `poe test_all` </br></br>
8-
- Enable pre-commit: </br> `pre-commit install` </br></br>
9-
- Do you want to add a new dependency? </br> `poetry add --dev foo-pkg ` </br></br>
3+
- Make sure you have `python >= 3.8` installed.
4+
- Install poetry: `pip install poetry`
5+
- Install the project dependencies: `poetry update`
6+
- Enter the virtual environment: `poetry shell`
7+
- Run all tests: `poe test_all`
8+
- Enable pre-commit: `pre-commit install`
9+
- Do you want to add a new dependency? `poetry add --dev foo-pkg`

docs/style.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/tests.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
## Test
22

3-
- Run all local tests against source code. </br> `poe test` </br> </br>
4-
- Profiles: </br>
5-
- Default: Runs only mypy and pyright tests </br> `poe test --profile=default` </br>
6-
- Pytest: Runs only pytest </br> `poe test --profile=pytest` </br>
7-
- Pre-commit: Runs all style checks in pre-commit </br> `poe test --profile=style` </br>
3+
[Poe](https://github.com/nat-n/poethepoet) is used to run all tests.
84

9-
- Run local tests against an installed distribution: </br> `poe test_dist` </br> </br>
5+
Here are the most important options. Fore more details, please use `poe --help`.
106

11-
- Run all local tests (against both source and installed distribution) : </br> `poe test_all` </br> </br>
7+
- Run all tests (against both source and installed stubs): `poe test_all`
8+
- Run tests against the source code: `poe test`
9+
- Run only mypy: `poe mypy`
10+
- Run only pyright: `poe pyright`
11+
- Run only pytest: `poe pytest`
12+
- Run only pre-commit: `poe style`
13+
- Run tests against the installed stubs (this will install and uninstall the stubs): `poe test_dist`
1214

13-
- Forgot some command? </br>`poe --help` </br> </br>
14-
15-
- These tests originally came from https://github.com/VirtusLab/pandas-stubs.
15+
These tests originally came from https://github.com/VirtusLab/pandas-stubs.

0 commit comments

Comments
 (0)