-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNT: updates Makefile scripts, adds isort to requirements-tests.txt
- Loading branch information
1 parent
08d3a42
commit 52f938c
Showing
4 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,32 @@ | ||
test: | ||
python -m pytest tests -vv | ||
pytest: | ||
python3 -m pytest tests | ||
|
||
testfile: | ||
python -m pytest tests/$(file) -vv | ||
pytest-slow: | ||
python3 -m pytest tests -vv -m slow --runslow | ||
|
||
tests: | ||
test | ||
|
||
coverage: | ||
python -m pytest --cov=rocketpy tests -vv | ||
coverage: | ||
python3 -m pytest --cov=rocketpy tests | ||
|
||
coverage-report: | ||
python -m pytest --cov=rocketpy tests -vv --cov-report html | ||
python3 -m pytest --cov=rocketpy tests --cov-report html | ||
|
||
install: | ||
python -m pip install --upgrade pip | ||
install: | ||
python3 -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
python setup.py install | ||
pip install -r requirements-optional.txt | ||
pip install -e . | ||
|
||
isort: | ||
isort --profile black rocketpy/ tests/ docs/ | ||
|
||
verify-lint: | ||
flake8 --select BLK rocketpy | ||
flake8 --select BLK test | ||
black: | ||
black rocketpy/ tests/ docs/ | ||
|
||
pylint: | ||
-pylint rocketpy tests --output=.pylint-report.txt | ||
|
||
lint: | ||
black rocketpy | ||
black tests | ||
biuld-docs: | ||
cd docs | ||
python3 -m pip install -r requirements.txt | ||
make html | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
pytest==6.2.4 | ||
pytest-coverage | ||
black | ||
black[jupyter] | ||
flake8-black | ||
pandas | ||
numericalunits==1.25 | ||
pylint | ||
pylint | ||
isort |