Remove unused typing hint thing, exclude tools for now from linting

This commit is contained in:
Paul Warren 2024-10-16 16:42:52 +11:00
parent 00bd4ef1f1
commit 6c426b2422
2 changed files with 1 additions and 3 deletions

View file

@ -5,7 +5,7 @@ import os
@nox.session
def lint(session):
session.install("ruff")
session.run("ruff", "check", "--exclude", "examples")
session.run("ruff", "check", "--exclude", "examples", "--exclude", "tools")
session.run("ruff", "check", "--extend-select", "N", "src/pyfroniusreg/froniusreg.py")

View file

@ -3,8 +3,6 @@
# Copyright 2024, Paul Warren <pwarren@pwarren.id.au>
# Licensed under AGPLv3, See LICENSE.md for terms
from typing import Any
from pymodbus.constants import Endian
from pymodbus.payload import BinaryPayloadDecoder, BinaryPayloadBuilder
from pymodbus.client.base import ModbusBaseClient