Skip to content

Commit 734b8cd

Browse files
committed
💚 fix moban stage problem
1 parent 08f7c26 commit 734b8cd

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ stages:
3737
submodules: false
3838
python: 3.6
3939
stage: lint
40-
script: make lint
40+
script: make install_test lint format git-diff-check
4141

4242
.moban: &moban
4343
<<: *disable_global
4444
python: 3.6
4545
stage: moban
4646
install: pip install moban>=0.0.4
47-
script: make format git-diff-check
47+
script:
48+
- moban
49+
- git diff --exit-code
4850

4951
jobs:
5052
include:

gitfs2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ entry_points:
1616
fs.opener:
1717
- "git = gitfs2:GitFSOpener"
1818
description: "Python file system 2 over GitPython"
19-
moban_command: make format git-diff-check
20-
lint_command: make lint
19+
moban_command: moban
20+
lint_command: make install_test lint format git-diff-check

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env python3
22

3-
import os
4-
import sys
53
# Template by pypi-mobans
64
import codecs
75
import locale
6+
import os
87
import platform
8+
import sys
99
from shutil import rmtree
1010

11-
from setuptools import Command, setup, find_packages
11+
from setuptools import Command, find_packages, setup
1212

1313
PY2 = sys.version_info[0] == 2
1414
PY26 = PY2 and sys.version_info[1] < 7

0 commit comments

Comments
 (0)