-
-
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.
Merge branch 'develop' into enh/class_dispersion
- Loading branch information
Showing
48 changed files
with
55,548 additions
and
53,462 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
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,37 @@ | ||
test: | ||
python -m pytest tests -vv | ||
# Set PYTHON variable according to OS | ||
ifeq ($(OS),Windows_NT) | ||
PYTHON=python | ||
else | ||
PYTHON=python3 | ||
endif | ||
|
||
testfile: | ||
python -m pytest tests/$(file) -vv | ||
pytest: | ||
$(PYTHON) -m pytest tests | ||
|
||
tests: | ||
test | ||
pytest-slow: | ||
$(PYTHON) -m pytest tests -vv -m slow --runslow | ||
|
||
coverage: | ||
python -m pytest --cov=rocketpy tests -vv | ||
coverage: | ||
$(PYTHON) -m pytest --cov=rocketpy tests | ||
|
||
coverage-report: | ||
python -m pytest --cov=rocketpy tests -vv --cov-report html | ||
$(PYTHON) -m pytest --cov=rocketpy tests --cov-report html | ||
|
||
install: | ||
python -m pip install --upgrade pip | ||
install: | ||
$(PYTHON) -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
python setup.py install | ||
pip install -r requirements-optional.txt | ||
pip install -e . | ||
|
||
verify-lint: | ||
flake8 --select BLK rocketpy | ||
flake8 --select BLK test | ||
isort: | ||
isort --profile black rocketpy/ tests/ docs/ | ||
|
||
lint: | ||
black rocketpy | ||
black tests | ||
black: | ||
black rocketpy/ tests/ docs/ | ||
|
||
pylint: | ||
-pylint rocketpy tests --output=.pylint-report.txt | ||
|
||
build-docs: | ||
cd docs && $(PYTHON) -m pip install -r requirements.txt && make html | ||
cd .. |
Oops, something went wrong.