Skip to content

Commit 6207064

Browse files
Update flake8
1 parent 50ca137 commit 6207064

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# stop the build if there are Python syntax errors or undefined names
3636
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3737
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
38-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude tests
38+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=221 --statistics --exclude tests
3939
- name: Test with pytest
4040
run: |
4141
pytest

opengsq/protocols/eos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def main_async():
8989
deployment_id = 'ad9a8feffb3b4b2ca315546f038c3ae2'
9090

9191
eos = EOS(host='150.138.77.118', port=10019, timeout=5.0, client_id=client_id,
92-
client_secret=client_secret, deployment_id=deployment_id)
92+
client_secret=client_secret, deployment_id=deployment_id)
9393
data = await eos.get_info()
9494
print(json.dumps(data, indent=None) + '\n')
9595

opengsq/protocols/gamespy1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ def __parse_as_object(self, br: BinaryReader, is_player=False):
180180

181181
async def main_async():
182182
gs1 = GameSpy1(host='51.81.48.224', port=23000, timeout=5.0) # bfield1942
183-
#gs1 = GameSpy1(address='139.162.235.20', query_port=7778, timeout=5.0) # ut
184-
#gs1 = GameSpy1(address='192.223.24.6', query_port=7778, timeout=5.0) # ut
183+
# gs1 = GameSpy1(address='139.162.235.20', query_port=7778, timeout=5.0) # ut
184+
# gs1 = GameSpy1(address='192.223.24.6', query_port=7778, timeout=5.0) # ut
185185
gs1 = GameSpy1(host='141.94.205.35', port=12300, timeout=5.0) # mohaa
186186
status = await gs1.get_status()
187187
print(json.dumps(status, indent=None) + '\n')

0 commit comments

Comments
 (0)