Skip to content

Set level for mypy. #1360

@janiversen

Description

@janiversen

Versions

  • Python:
  • OS:
  • Pymodbus:
  • Modbus Hardware (if used):

Pymodbus Specific

  • Server: tcp/rtu/ascii - sync/async
  • Client: tcp/rtu/ascii - sync/async

Description

What were you trying, what has happened, what went wrong, and what did you expect?

Code and Logs

# code and logs here.

# please use the following to format logs when posting them here
import logging
import pymodbus
pymodbus.pymodbus_apply_logging_config(logging.DEBUG)

Once mypy is properly implemented (thanks to @alexrudd2), we should get to a level similar to:
https://github.com/home-assistant/core/blob/dev/mypy.ini

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions