Skip to content

Commit

Permalink
Update flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Nov 15, 2023
1 parent 50ca137 commit 6207064
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion opengsq/protocols/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
4 changes: 2 additions & 2 deletions opengsq/protocols/gamespy1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 6207064

Please sign in to comment.