File tree Expand file tree Collapse file tree 4 files changed +30
-23
lines changed Expand file tree Collapse file tree 4 files changed +30
-23
lines changed Original file line number Diff line number Diff line change 16
16
- [ ] Tests for the changes have been added (if needed)
17
17
- [ ] Docs have been reviewed and added / updated
18
18
- [ ] Lint (` black rocketpy/ tests/ ` ) has passed locally
19
- - [ ] All tests (` pytest --runslow ` ) have passed locally
19
+ - [ ] All tests (` python3 -m pytest tests -m slow --runslow` ) have passed locally
20
20
- [ ] ` CHANGELOG.md ` has been updated (if relevant)
21
21
22
22
## Current behavior
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ MANIFEST
36
36
pip-log.txt
37
37
pip-delete-this-directory.txt
38
38
39
- # Unit test / coverage reports
39
+ # Unit test / coverage reports / lints reports
40
40
htmlcov /
41
41
.tox /
42
42
.nox /
@@ -50,6 +50,7 @@ coverage.xml
50
50
.hypothesis /
51
51
.pytest_cache /
52
52
cover /
53
+ .pylint-report.txt
53
54
54
55
# Translations
55
56
* .mo
Original file line number Diff line number Diff line change 1
- test :
2
- python -m pytest tests -vv
1
+ pytest :
2
+ python3 -m pytest tests
3
3
4
- testfile :
5
- python -m pytest tests/ $( file ) -vv
4
+ pytest-slow :
5
+ python3 -m pytest tests -vv -m slow --runslow
6
6
7
- tests :
8
- test
9
-
10
- coverage :
11
- python -m pytest --cov=rocketpy tests -vv
7
+ coverage :
8
+ python3 -m pytest --cov=rocketpy tests
12
9
13
10
coverage-report :
14
- python -m pytest --cov=rocketpy tests -vv --cov-report html
11
+ python3 -m pytest --cov=rocketpy tests --cov-report html
15
12
16
- install :
17
- python -m pip install --upgrade pip
13
+ install :
14
+ python3 -m pip install --upgrade pip
18
15
pip install -r requirements.txt
19
- python setup.py install
16
+ pip install -r requirements-optional.txt
17
+ pip install -e .
18
+
19
+ isort :
20
+ isort --profile black rocketpy/ tests/ docs/
20
21
21
- verify-lint :
22
- flake8 --select BLK rocketpy
23
- flake8 --select BLK test
22
+ black :
23
+ black rocketpy/ tests/ docs/
24
+
25
+ pylint :
26
+ -pylint rocketpy tests --output=.pylint-report.txt
24
27
25
- lint :
26
- black rocketpy
27
- black tests
28
+ biuld-docs :
29
+ cd docs
30
+ python3 -m pip install -r requirements.txt
31
+ make html
32
+ cd ..
Original file line number Diff line number Diff line change 1
1
pytest==6.2.4
2
2
pytest-coverage
3
- black
3
+ black[jupyter]
4
4
flake8-black
5
5
pandas
6
6
numericalunits==1.25
7
- pylint
7
+ pylint
8
+ isort
You can’t perform that action at this time.
0 commit comments