File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ python:
7
7
- " 3.6"
8
8
9
9
before_script :
10
- - pip install flake8
10
+ - pip install flake8 isort
11
11
12
12
script :
13
13
- flake8 benchmarks
14
+ - isort --check-only --recursive benchmarks
14
15
- python3 -m benchmarks.tests
15
16
16
17
before_deploy :
Original file line number Diff line number Diff line change 14
14
from benchmarks .serialization import get_all as serializers
15
15
from benchmarks .utils import Timer
16
16
from benchmarks .utils import download_sample_emails
17
- from benchmarks .utils import remove_if_exists
18
17
from benchmarks .utils import filesize_kb
19
18
from benchmarks .utils import load_sample_email
20
19
from benchmarks .utils import pretty_extension
20
+ from benchmarks .utils import remove_if_exists
21
21
22
22
Benchmark = namedtuple ('Benchmark' , (
23
23
'Compressor' ,
Original file line number Diff line number Diff line change
1
+ [flake8]
2
+ max-line-length = 120
3
+
4
+ [isort]
5
+ force_single_line = True
6
+ line_length = 120
You can’t perform that action at this time.
0 commit comments