-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from PythonPredictions/develop
Release v1.1.1: merging 2023-03 development branch to master for 2023-03 release.
- Loading branch information
Showing
23 changed files
with
973 additions
and
397 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Makefile with some simple commands to make developer's life easier | ||
|
||
|
||
install-requirements: install-build-essential | ||
pip install -r requirements.txt | ||
|
||
dev/install-requirements: install-requirements | ||
pip install -r requirements.dev.txt | ||
|
||
install-build-essential: | ||
sudo apt-get update | ||
sudo apt-get install build-essential | ||
|
||
update-setuptools: | ||
pip install --upgrade setuptools wheel | ||
|
||
test-unit: | ||
pytest tests | ||
@echo 'unit tests OK' | ||
|
||
lint: | ||
pylint cobra | ||
@echo 'lint OK' | ||
|
||
lint-minimal: | ||
pylint E cobra | ||
@echo 'lint minimal OK' | ||
|
||
typecheck: | ||
mypy cobra | ||
@echo 'typecheck OK' | ||
|
||
codestyle: | ||
pycodestyle cobra | ||
@echo 'codestyle OK' | ||
|
||
docstyle: | ||
pydocstyle cobra | ||
@echo 'docstyle OK' | ||
|
||
code-qa: typecheck codestyle docstyle lint-minimal |
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 +1,7 @@ | ||
from .version import __version__ | ||
from .version import __version__ | ||
from cobra.utils import log_tutorial | ||
import logging | ||
|
||
logging.basicConfig(level=logging.INFO, format="%(message)s") | ||
|
||
log_tutorial() |
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
Oops, something went wrong.