diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 972a7e8..2e179cc 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -35,7 +35,7 @@ jobs: # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude tests + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=221 --statistics --exclude tests - name: Test with pytest run: | pytest diff --git a/opengsq/protocols/eos.py b/opengsq/protocols/eos.py index e10ec8f..e2f55a6 100644 --- a/opengsq/protocols/eos.py +++ b/opengsq/protocols/eos.py @@ -89,7 +89,7 @@ async def main_async(): deployment_id = 'ad9a8feffb3b4b2ca315546f038c3ae2' eos = EOS(host='150.138.77.118', port=10019, timeout=5.0, client_id=client_id, - client_secret=client_secret, deployment_id=deployment_id) + client_secret=client_secret, deployment_id=deployment_id) data = await eos.get_info() print(json.dumps(data, indent=None) + '\n') diff --git a/opengsq/protocols/gamespy1.py b/opengsq/protocols/gamespy1.py index bbff023..5e02a4b 100644 --- a/opengsq/protocols/gamespy1.py +++ b/opengsq/protocols/gamespy1.py @@ -180,8 +180,8 @@ def __parse_as_object(self, br: BinaryReader, is_player=False): async def main_async(): gs1 = GameSpy1(host='51.81.48.224', port=23000, timeout=5.0) # bfield1942 - #gs1 = GameSpy1(address='139.162.235.20', query_port=7778, timeout=5.0) # ut - #gs1 = GameSpy1(address='192.223.24.6', query_port=7778, timeout=5.0) # ut + # gs1 = GameSpy1(address='139.162.235.20', query_port=7778, timeout=5.0) # ut + # gs1 = GameSpy1(address='192.223.24.6', query_port=7778, timeout=5.0) # ut gs1 = GameSpy1(host='141.94.205.35', port=12300, timeout=5.0) # mohaa status = await gs1.get_status() print(json.dumps(status, indent=None) + '\n')