Skip to content

Commit 021c351

Browse files
committed
📰 add half of the pypi-mobans that starts a new project here
1 parent 72b2d91 commit 021c351

15 files changed

+199
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ stages:
2727
env:
2828
- MINREQ=0
2929
stage: moban
30-
install: pip install moban>=0.0.4 gitfs2 pypifs
30+
install: pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
3131
script: make upstreaming git-diff-check
3232

3333
jobs:

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Change log
22
================================================================================
33

4+
0.1.0 - 13.09.20220
5+
--------------------------------------------------------------------------------
6+
7+
**added**
8+
9+
#. new project starter kits is relocated from yehua here
10+
411
0.0.12 - 26.08.20220
512
--------------------------------------------------------------------------------
613

changelog.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: pypi-mobans
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: added
6+
details:
7+
- "new project starter kits is relocated from yehua here"
8+
date: 13.09.20220
9+
version: 0.1.0
410
- changes:
511
- action: added
612
details:

new-project/static/CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Change log
2+
===========

new-project/static/CUSTOM_README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% extends 'README.rst.jj2' %}
2+
3+
{%block documentation_link%}
4+
.. image:: https://dev.azure.com/{{organisation}}/{{name}}/_apis/build/status/{{organisation}}.{{name}}?branchName=master
5+
:target: https://dev.azure.com/{{organisation}}/{{name}}/_build/latest?definitionId=2&branchName=master
6+
{%endblock%}

new-project/static/MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include README.rst
2+
include CHANGELOG.rst
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "setup.py.jj2" %}

new-project/static/setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal = 1
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends "tests/requirements.txt.jj2" %}
2+
3+
{%block extras %}
4+
moban
5+
black;python_version>="3.6"
6+
isort;python_version>="3.6"
7+
{%endblock%}

new-project/templates/Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
all: test
2+
3+
test: lint
4+
bash test.sh
5+
6+
install_test:
7+
pip install -r tests/requirements.txt
8+
9+
git-diff-check:
10+
git diff --exit-code
11+
12+
lint:
13+
bash lint.sh
14+
15+
format:
16+
isort -y $(find {{project_name | replace('-', '_')}} -name "*.py"|xargs echo) $(find tests -name "*.py"|xargs echo)
17+
black -l 79 {{project_name | replace('-', '_')}}
18+
black -l 79 tests
19+
20+
git-diff-check:
21+
git diff --exit-code

0 commit comments

Comments
 (0)