Skip to content

Commit f1faa8d

Browse files
authored
fix: align flake8 test (#122)
1 parent 7159dfb commit f1faa8d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/Python_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python -m pip install --upgrade pip
2424
pip install -r requirements_dev.txt
2525
- name: Lint with flake8
26-
run: flake8 . --count --show-source --statistics
26+
run: flake8 . --ignore=E203,W503 --max-complexity=101 --max-line-length=88 --show-source --statistics
2727
- name: Test with pytest
2828
run: pytest
2929
# - name: Run doctests with pytest

pylib/gyp/msvs_emulation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def EncodeRspFileList(args, quote_cmd):
7474
program = call + " " + os.path.normpath(program)
7575
else:
7676
program = os.path.normpath(args[0])
77-
return (program + " " +
78-
" ".join(QuoteForRspFile(arg, quote_cmd) for arg in args[1:]))
77+
return (program + " "
78+
+ " ".join(QuoteForRspFile(arg, quote_cmd) for arg in args[1:]))
7979

8080

8181
def _GenericRetrieve(root, default, path):

0 commit comments

Comments
 (0)