-
Notifications
You must be signed in to change notification settings - Fork 28
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 #157 from roscisz/develop
Release v0.2.3
- Loading branch information
Showing
77 changed files
with
20,848 additions
and
2,090 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,7 @@ build/ | |
\.idea | ||
|
||
# database | ||
**/*.db | ||
**/*.db | ||
|
||
# config | ||
tensorhive/app/web/dist/static/config.json |
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
28 changes: 28 additions & 0 deletions
28
migrations/versions/05eca1c82f14_add_email_column_to_user.py
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,28 @@ | ||
"""Add email column to User | ||
Revision ID: 05eca1c82f14 | ||
Revises: ce624ab2c458 | ||
Create Date: 2019-01-29 22:31:48.215468 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '05eca1c82f14' | ||
down_revision = 'ce624ab2c458' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('users', sa.Column('email', sa.String(length=64), server_default='<email_missing>', nullable=False)) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column('users', 'email') | ||
# ### end Alembic commands ### |
24 changes: 24 additions & 0 deletions
24
migrations/versions/5279ea22b197_merge_emails_and_summaries.py
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,24 @@ | ||
"""merge emails and summaries | ||
Revision ID: 5279ea22b197 | ||
Revises: bffd7d81d326, 05eca1c82f14 | ||
Create Date: 2019-03-08 13:07:03.446641 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '5279ea22b197' | ||
down_revision = ('bffd7d81d326', '05eca1c82f14') | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
pass | ||
|
||
|
||
def downgrade(): | ||
pass |
30 changes: 30 additions & 0 deletions
30
migrations/versions/bffd7d81d326_add_summary_fields_to_reservation.py
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,30 @@ | ||
"""Add summary fields to Reservation | ||
Revision ID: bffd7d81d326 | ||
Revises: ce624ab2c458 | ||
Create Date: 2019-02-21 20:48:59.993973 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = 'bffd7d81d326' | ||
down_revision = 'ce624ab2c458' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('reservations', sa.Column('gpu_util_avg', sa.Integer(), nullable=True)) | ||
op.add_column('reservations', sa.Column('mem_util_avg', sa.Integer(), nullable=True)) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column('reservations', 'mem_util_avg') | ||
op.drop_column('reservations', 'gpu_util_avg') | ||
# ### end Alembic commands ### |
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,4 +1,6 @@ | ||
[pytest] | ||
testpaths = tests/ | ||
python_files = *.py | ||
addopts = --verbose | ||
addopts = --verbose | ||
env = | ||
PYTEST=1 |
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,3 +1,6 @@ | ||
pytest | ||
pytest-faker | ||
alembic | ||
pytest==4.0.1 | ||
pytest-faker==2.0.0 | ||
pytest-env==0.6.2 | ||
alembic==1.0.3 | ||
flake8==3.6.0 | ||
|
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,2 +1,10 @@ | ||
[metadata] | ||
description-file = README.md | ||
|
||
[flake8] | ||
max-line-length = 119 | ||
ignore = F401,E731 | ||
# F401 - Module imported but unused | ||
# E731 - Do not assign lambda expression, use a def | ||
# Source: https://lintlyci.github.io/Flake8Rules/ | ||
exclude = tensorhive/snippet.py,tensorhive/app/web/dev/node_modules/ |
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 @@ | ||
__version__ = '0.2.2' | ||
__version__ = '0.2.3' |
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.