File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,16 @@ stages:
37
37
submodules : false
38
38
python : 3.6
39
39
stage : lint
40
- script : make lint
40
+ script : make install_test lint format git-diff-check
41
41
42
42
.moban : &moban
43
43
<< : *disable_global
44
44
python : 3.6
45
45
stage : moban
46
46
install : pip install moban>=0.0.4
47
- script : make format git-diff-check
47
+ script :
48
+ - moban
49
+ - git diff --exit-code
48
50
49
51
jobs :
50
52
include :
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ entry_points:
16
16
fs.opener :
17
17
- " git = gitfs2:GitFSOpener"
18
18
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
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
2
3
- import os
4
- import sys
5
3
# Template by pypi-mobans
6
4
import codecs
7
5
import locale
6
+ import os
8
7
import platform
8
+ import sys
9
9
from shutil import rmtree
10
10
11
- from setuptools import Command , setup , find_packages
11
+ from setuptools import Command , find_packages , setup
12
12
13
13
PY2 = sys .version_info [0 ] == 2
14
14
PY26 = PY2 and sys .version_info [1 ] < 7
You can’t perform that action at this time.
0 commit comments