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 configuration #208

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mdeweerd
Copy link

@mdeweerd mdeweerd commented Jan 3, 2023

This configuration formats and checks code and documentation.

You can also just pcik.pre-commit-config.yaml and pyproject.toml .

to use per-commit:

  • pip install pre-commit
  • In the clone: pre-commit install or run pre-commit run -a

@@ -455,7 +515,7 @@ async def _heartbeat_loop(self):
_LOGGER.debug("Sending ping")
event = asyncio.Event()

def resp(message):
def resp(message, event=event):
Copy link
Author

@mdeweerd mdeweerd Aug 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a manual change that may fix a real issue identified by pylint.

It might need another kind of fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant