File tree Expand file tree Collapse file tree 3 files changed +26
-11
lines changed Expand file tree Collapse file tree 3 files changed +26
-11
lines changed Original file line number Diff line number Diff line change
1
+ name : Linter
2
+ on :
3
+ pull_request :
4
+ branches : [ master ]
5
+ push :
6
+
7
+ jobs :
8
+ lint :
9
+ runs-on : ubuntu-latest
10
+ strategy :
11
+ fail-fast : false
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-python@v1
15
+ with :
16
+ python-version : 3.8
17
+ - name : Install Linters
18
+ run : pip3 install flake8 isort black
19
+ - name : flake8
20
+ run : flake8 *.py
21
+ - name : isort
22
+ run : isort -c -df *.py
23
+ - name : black
24
+ run : black --check --diff *.py
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
2
3
- import argparse
4
3
import sys
4
+ import argparse
5
5
from typing import List , Tuple
6
6
7
7
import testcases
@@ -33,9 +33,7 @@ def get_args():
33
33
default = False ,
34
34
help = "turn on debug logs" ,
35
35
)
36
- parser .add_argument (
37
- "-s" , "--server" , help = "server implementations (comma-separated)"
38
- )
36
+ parser .add_argument ("-s" , "--server" , help = "server implementations (comma-separated)" )
39
37
parser .add_argument (
40
38
"-c" , "--client" , help = "client implementations (comma-separated)"
41
39
)
You can’t perform that action at this time.
0 commit comments