Skip to content

Commit dfa2a1a

Browse files
authored
Merge pull request #36 from TTWShell/release/1.2.5
Release/1.2.5
2 parents cb57ca0 + e11b72b commit dfa2a1a

File tree

7 files changed

+70
-74
lines changed

7 files changed

+70
-74
lines changed

.circleci/config.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- checkout
5050
- run:
5151
name: install dependencies
52-
command: pip install flake8 pytest pytest-cov && pip install --editable .
52+
command: pip install flake8 pytest pytest-cov pytest-env && pip install --editable .
5353
- run:
5454
name: use flake8 check self
5555
command: flake8 .
@@ -58,9 +58,6 @@ jobs:
5858
command: hobbit --echo startproject -n demo -d ~/haha -f --example -p 1024
5959
- run:
6060
name: run tests
61-
environment:
62-
FLASK_APP: app/run.py
63-
FLASK_ENV: testing
6461
command: |
6562
cd ~/haha
6663
flask db init && flask db migrate && flask db upgrade
@@ -75,7 +72,7 @@ jobs:
7572
- checkout
7673
- run:
7774
name: install dependencies
78-
command: pip install flake8 pytest pytest-cov && pip install --editable .
75+
command: pip install flake8 pytest pytest-cov pytest-env && pip install --editable .
7976
- run:
8077
name: use flake8 check self
8178
command: flake8 .
@@ -90,9 +87,6 @@ jobs:
9087
tree
9188
- run:
9289
name: run tests
93-
environment:
94-
FLASK_APP: app/run.py
95-
FLASK_ENV: testing
9690
command: |
9791
cd ~/haha
9892
flask db init && flask db migrate && flask db upgrade
@@ -107,7 +101,7 @@ jobs:
107101
- checkout
108102
- run:
109103
name: install dependencies
110-
command: pip install flake8 pytest pytest-cov && pip install --editable .
104+
command: pip install flake8 pytest pytest-cov pytest-env && pip install --editable .
111105
- run:
112106
name: use flake8 check self
113107
command: flake8 .
@@ -124,9 +118,6 @@ jobs:
124118
tree
125119
- run:
126120
name: run tests
127-
environment:
128-
FLASK_APP: app/run.py
129-
FLASK_ENV: testing
130121
command: |
131122
cd ~/haha
132123
flask db init && flask db migrate && flask db upgrade

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ flask-sphinx-themes = "*"
1414
sphinx = "*"
1515
sphinx-autobuild = "*"
1616
recommonmark = "*"
17+
pytest-env = "*"
1718

1819
[dev-packages]
1920

Pipfile.lock

Lines changed: 60 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ db
2323
.. automodule:: hobbit_core.flask_hobbit.db
2424
:members:
2525
:undoc-members:
26-
:exclude-members: SurrogatePK, EnumExt
26+
:exclude-members: SurrogatePK, EnumExt, EnumExtMeta
2727

2828
.. autoclass:: SurrogatePK
2929
:members: __repr__
@@ -49,7 +49,7 @@ schemas
4949
.. automodule:: hobbit_core.flask_hobbit.schemas
5050
:members:
5151
:undoc-members:
52-
:exclude-members: ORMSchema, SchemaMixin, PagedSchema
52+
:exclude-members: ORMSchema, SchemaMixin, PagedSchema, EnumSetMeta
5353

5454
.. autoclass:: ORMSchema
5555
:members:

docs/changelog.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
Change history
22
==============
33

4-
1.2.5a2 (2018-10-30)
4+
1.2.5 (2018-10-30)
55

66
* Add ModelSchema(Auto generate load and dump func for EnumField).
77
* Add logging config file.
8-
* Fix use_kwargs with fileds.missing=None.
9-
10-
1.2.5a1 (2018-10-25)
11-
128
* Add EnumExt implementation.
13-
14-
1.2.5a0 (2018-10-22)
15-
16-
* Enhance utils.use_kwargs.
9+
* Fix use_kwargs with fileds.missing=None and enhanced.
1710

1811
1.2.4 (2018-10-18)
1912

hobbit_core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = [1, 2, 5, 'a2']
1+
VERSION = [1, 2, 5]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[pytest]
22
env =
3-
LASK_APP=app/run.py
3+
FLASK_APP=app/run.py
44
FLASK_ENV=testing
55
addopts = --cov . --cov-report term-missing -s -x -vv -p no:warnings

0 commit comments

Comments
 (0)