[build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/pyfroniusreg"] [project] name = "pyFroniusReg" version = "0.1.0" authors = [ { name = "Paul Warren", email="pwarren@pwarren.id.au" } ] description = "A library to make interacting with Fronius inverters and storage systems simpler" readme = "README.md" requires-python = ">=3.8" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: OS Independent", "Development Status :: 1 - Planning", ] dependencies = [ "pymodbus" ] [project.urls] Homepage = "https://git.pwarren.id.au/pwarren/PyFroniusReg/" Issues = "https://git.pwarren.id.au/pwarren/PyFroniusReg/issues" [tool.ruff] line-length = 99 [tool.ruff.lint] # Add the `line-too-long` rule to the enforced rule set. By default, Ruff omits rules that # overlap with the use of a formatter, like Black, but we can override this behavior by # explicitly adding the rule. extend-select = ["E501", "T20", "E", "PL"] [tool.ruff.lint.extend-per-file-ignores] "*register_map*.py" = ["E501"]