File tree Expand file tree Collapse file tree 4 files changed +18
-23
lines changed Expand file tree Collapse file tree 4 files changed +18
-23
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ Instructions for working with the code are found here:
10
10
11
11
- [ How to set up the environment] ( setup.md )
12
12
- [ How to test the project] ( tests.md )
13
- - [ Code style ] ( style .md)
13
+ - [ How to make a release ] ( release_procedure .md)
Original file line number Diff line number Diff line change 1
1
## Set Up Environment
2
2
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 `
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
## Test
2
2
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.
8
4
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 ` .
10
6
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 `
12
14
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 .
You can’t perform that action at this time.
0 commit comments