Skip to content

Commit 688e2a1

Browse files
committed
🥚 🎡 release 0.0.7
1 parent 46ecba9 commit 688e2a1

File tree

5 files changed

+15
-37
lines changed

5 files changed

+15
-37
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Change log
22
================================================================================
33

4-
0.0.7 - tbd
4+
0.0.7 - 6/10/2019
55
--------------------------------------------------------------------------------
66

77
Updated

changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ releases:
66
details:
77
- "upgrade yehua to use pypi-mobans-pkg version 0.0.7"
88
- "generated project will have azure build pipeline, moban command stage in travis and local flake8 check"
9-
date: tbd
9+
date: 6/10/2019
1010
version: 0.0.7
1111
- changes:
1212
- action: Updated
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# flake8: noqa
2-
from test_me._version import __version__
3-
from test_me._version import __author__
2+
from test_me._version import __author__, __version__

tests/requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ mock
33
codecov
44
coverage
55
flake8
6-
black;python_version>="3.6"
7-
isort;python_version>="3.6"
8-

tests/test_project.py

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -60,34 +60,16 @@ def test_project_copy_static(self):
6060
calls = self.copy_file.call_args_list
6161
calls = [split_call_arguments(call) for call in calls]
6262
expected = [
63-
[
64-
"CUSTOM_README.rst",
65-
"test-me/.moban.d/CUSTOM_README.rst.jj2",
66-
],
67-
[
68-
"custom_setup.py.jj2",
69-
"test-me/.moban.d/custom_setup.py.jj2",
70-
],
63+
["CUSTOM_README.rst", "test-me/.moban.d/CUSTOM_README.rst.jj2"],
64+
["custom_setup.py.jj2", "test-me/.moban.d/custom_setup.py.jj2"],
7165
[
7266
"tests/custom_requirements.txt.jj2",
7367
"test-me/.moban.d/tests/custom_requirements.txt.jj2",
7468
],
75-
[
76-
"CHANGELOG.rst",
77-
"test-me/CHANGELOG.rst",
78-
],
79-
[
80-
"MANIFEST.in",
81-
"test-me/MANIFEST.in",
82-
],
83-
[
84-
"setup.cfg",
85-
"test-me/setup.cfg",
86-
],
87-
[
88-
"azure-pipelines.yml",
89-
"test-me/azure-pipelines.yml",
90-
],
69+
["CHANGELOG.rst", "test-me/CHANGELOG.rst"],
70+
["MANIFEST.in", "test-me/MANIFEST.in"],
71+
["setup.cfg", "test-me/setup.cfg"],
72+
["azure-pipelines.yml", "test-me/azure-pipelines.yml"],
9173
[
9274
".azure-pipelines-steps-macos.yml",
9375
"test-me/.azure-pipelines-steps-macos.yml",
@@ -106,14 +88,14 @@ def test_project_copy_static(self):
10688
def test_project_templating(self):
10789
def mock_save_file(filename, filecontent):
10890
file_to_write = os.path.join(
109-
"tests", "fixtures",
110-
"project_templating", filename)
91+
"tests", "fixtures", "project_templating", filename
92+
)
11193
path = os.path.dirname(file_to_write)
11294
if not os.path.exists(path):
113-
print(path)
114-
os.mkdir(path)
115-
with open(file_to_write, 'w') as f:
116-
f.write(filecontent)
95+
print(path)
96+
os.mkdir(path)
97+
with open(file_to_write, "w") as f:
98+
f.write(filecontent)
11799
file_to_read = os.path.join(
118100
"tests", "fixtures", "project_templating", filename
119101
)

0 commit comments

Comments
 (0)