Add ruff line length rule
This commit is contained in:
parent
faf2090fa1
commit
f6f7a4ae29
1 changed files with 10 additions and 0 deletions
|
@ -29,3 +29,13 @@ dependencies = [
|
|||
Homepage = "https://git.pwarren.id.au/pwarren/PyFroniusReg/"
|
||||
Issues = "https://git.pwarren.id.au/pwarren/PyFroniusReg/issues"
|
||||
|
||||
|
||||
[tool.ruff]
|
||||
# Set the maximum line length to 79.
|
||||
line-length = 79
|
||||
|
||||
[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"]
|
||||
|
|
Loading…
Reference in a new issue