Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: check-toml
- id: no-commit-to-branch
args: [-b, master]

- repo: https://github.com/psf/black
rev: 22.10.0
rev: 25.1.0
hooks:
- id: black
name: black
Expand All @@ -17,13 +17,13 @@ repos:
types: [python]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
rev: v1.15.0
hooks:
- id: mypy
exclude: ^docs/conf.py

- repo: https://github.com/yaq-project/yaq-traits
rev: v2022.11.0
rev: v2023.6.0
hooks:
- id: yaq-traits-check
- id: yaq-traits-compose
Expand Down
4 changes: 2 additions & 2 deletions yaqd_mks/_mks_multigas_2030.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def _measure(self):
await asyncio.sleep(10)

async def poll_gas_names(self):
while True:
while True:
print("POLLING GAS NAMES")
inner = [f"<V Name=\"EVID_{1000 + n}\"/>" for n in range(self._ngasses)]
payload = f"<?xml version=\"1.0\" encoding=\"utf-8\"?> <PollRequest>{inner}</PollRequest>"
Expand All @@ -48,7 +48,7 @@ async def poll_gas_names(self):
async def unpack_response(self, response):
if response.status == 200:
print(await response.text())

async def update_state(self):
"""Continually monitor and update the current daemon state."""
# If there is no state to monitor continuously, delete this function
Expand Down
Loading