Skip to content

Commit 5948547

Browse files
authored
Merge pull request #85 from moremoban/dev
release 0.0.5
2 parents f5abe13 + 6f502ec commit 5948547

19 files changed

+281
-152
lines changed

.gitignore

+37-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ parts/
2525
sdist/
2626
var/
2727
wheels/
28+
pip-wheel-metadata/
29+
share/python-wheels/
2830
*.egg-info/
2931
.installed.cfg
3032
*.egg
@@ -43,6 +45,7 @@ pip-delete-this-directory.txt
4345
# Unit test / coverage reports
4446
htmlcov/
4547
.tox/
48+
.nox/
4649
.coverage
4750
.coverage.*
4851
.cache
@@ -77,9 +80,20 @@ target/
7780
# Jupyter Notebook
7881
.ipynb_checkpoints
7982

83+
# IPython
84+
profile_default/
85+
ipython_config.py
86+
8087
# pyenv
8188
.python-version
8289

90+
# pipenv
91+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93+
# having no cross-platform support, pipenv may install dependencies that don’t work, or not
94+
# install all needed dependencies.
95+
#Pipfile.lock
96+
8397
# celery beat schedule file
8498
celerybeat-schedule
8599

@@ -107,6 +121,11 @@ venv.bak/
107121

108122
# mypy
109123
.mypy_cache/
124+
.dmypy.json
125+
dmypy.json
126+
127+
# Pyre type checker
128+
.pyre/
110129

111130
# VirtualEnv rules
112131
# Virtualenv
@@ -238,6 +257,10 @@ flycheck_*.el
238257
# directory configuration
239258
.dir-locals.el
240259

260+
# network security
261+
/network-security.data
262+
263+
241264
# Vim rules
242265
# Swap
243266
[._]*.s[a-v][a-z]
@@ -268,6 +291,9 @@ tags
268291
.idea/**/dictionaries
269292
.idea/**/shelf
270293

294+
# Generated files
295+
.idea/**/contentModel.xml
296+
271297
# Sensitive or high-churn files
272298
.idea/**/dataSources/
273299
.idea/**/dataSources.ids
@@ -281,6 +307,14 @@ tags
281307
.idea/**/gradle.xml
282308
.idea/**/libraries
283309

310+
# Gradle and Maven with auto-import
311+
# When using Gradle or Maven with auto-import, you should exclude module files,
312+
# since they will be recreated, and may cause churn. Uncomment if using
313+
# auto-import.
314+
# .idea/modules.xml
315+
# .idea/*.iml
316+
# .idea/modules
317+
284318
# CMake
285319
cmake-build-*/
286320

@@ -311,6 +345,9 @@ fabric.properties
311345
# Editor-based Rest Client
312346
.idea/httpRequests
313347

348+
# Android studio 3.1+ serialized cache file
349+
.idea/caches/build_file_checksums.ser
350+
314351
# SublimeText rules
315352
# Cache files for Sublime Text
316353
*.tmlanguage.cache
@@ -390,7 +427,6 @@ DerivedData/
390427
!default.perspectivev3
391428

392429
# Eclipse rules
393-
394430
.metadata
395431
bin/
396432
tmp/

.travis.yml

+27-4
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,36 @@ install:
1010
stages:
1111
- test
1212
- moban
13+
- lint
14+
15+
.disable_global: &disable_global
16+
before_install: false
17+
install: true
18+
before_script: false
19+
after_success: false
20+
after_failure: false
21+
22+
.lint: &lint
23+
<<: *disable_global
24+
python: 3.6
25+
stage: lint
26+
install: pip install flake8
27+
script: flake8
28+
29+
.moban: &moban
30+
<<: *disable_global
31+
python: 2.7
32+
stage: moban
33+
install: pip install moban>=0.0.4
34+
script:
35+
- make
1336

1437
jobs:
1538
include:
16-
- stage: moban
17-
script:
18-
- make
19-
- git diff --exit-code
39+
- *moban
40+
- *lint
41+
allow_failures:
42+
- test
2043

2144
stage: test
2245

CHANGELOG.rst

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
Change log
22
================================================================================
33

4+
0.0.5 - 04-05-2019
5+
--------------------------------------------------------------------------------
6+
7+
Updated
8+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9+
10+
#. #75: separate flake8 linting in separate travis job
11+
#. #72: project and copyright are no longer filled.
12+
#. black style on setup.py, include python 3.7, 3.8 , update gitignore
13+
414
0.0.4 - 18-02-2019
515
--------------------------------------------------------------------------------
616

Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@ all: upstreaming
22

33
upstreaming:
44
moban -m mobanfile
5+
6+
lint: flake8 . --exclude=.moban.d,docs --builtins=unicode,xrange,long
7+
8+
push:
9+
git config user.email "[email protected]"
10+
git config user.name "traviscibot"
11+
git add .
12+
git commit -m "Sync templates [skip ci]"
13+
git push https://moremoban:${GITHUB_TOKEN}@github.com/moremoban/pypi-mobans HEAD:moban -f

changelog.yml

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: "pypi-mobans"
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: Updated
6+
details:
7+
- "#75: separate flake8 linting in separate travis job"
8+
- "#72: project and copyright are no longer filled."
9+
- "black style on setup.py, include python 3.7, 3.8 , update gitignore"
10+
date: 04-05-2019
11+
version: 0.0.5
412
- changes:
513
- action: Updated
614
details:

templates/conf.py.jj2

+2-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ DESCRIPTION = (
77
{% endfor %}
88
''
99
)
10-
{% set project_str = name %}
11-
{% set copyright_str = '{0} {1}'.format(copyright_year, company) %}
12-
{% set author_str = author %}
13-
{% set author = company %}
14-
{% set version_str = release %}
15-
{% set release_str = version %}
10+
{% set project = name %}
11+
{% set copyright = '{0} {1}'.format(copyright_year, company) %}
1612
{% if sphinx_extensions %}
1713
{% set extensions = sphinx_extensions %}
1814
{% else %}

templates/docs/Makefile.jj2

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Minimal makefile for Sphinx documentation
22
#
33

4-
# You can set these variables from the command line.
5-
SPHINXOPTS =
6-
SPHINXBUILD = sphinx-build
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
78
SOURCEDIR = {{ rsrcdir }}
89
BUILDDIR = {{ rbuilddir }}
910

templates/gitignore

Submodule gitignore updated 85 files

templates/lint.script.jj2

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
flake8 . --exclude=.moban.d,docs {%block flake8_options%}--builtins=unicode,xrange,long{%endblock%}

0 commit comments

Comments
 (0)