Skip to content

Commit 507e795

Browse files
committed
💚 make travis green
1 parent 5f9e73b commit 507e795

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.moban.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ targets:
1919
- output: "CHANGELOG.rst"
2020
configuration: changelog.yml
2121
template: CHANGELOG.rst.jj2
22-
- ".github/workflows/pythonpublish.yml": "pythonpublish.yml"

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ stages:
3737
submodules: false
3838
python: 3.6
3939
stage: lint
40-
install: pip install flake8
41-
script: flake8
40+
script: bash lint.sh
4241

4342
.moban: &moban
4443
<<: *disable_global

lint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pip install flake8
2+
flake8 . --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long

pypi-mobans-pkg.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ setup_py: false
1616
rsrcdir: docs/source
1717
rbuilddir: docs/_build
1818
mastertocmaxdepth: 3
19+
lint_command: bash lint.sh

0 commit comments

Comments
 (0)