Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ indent-width = 4
line-length = 88

[tool.ruff.lint]
preview = true
explicit-preview-rules = true
select = [
# pycodestyle
"E",
Expand All @@ -86,6 +88,8 @@ select = [
"B",
# isort
"I",
# missing-f-string-syntax (preview rule)
"RUF027",
# TODO: enable these at some point?
# flake8-simplify
#"SIM",
Expand Down
4 changes: 2 additions & 2 deletions ymmsl/v0_2/ports.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def __init__(
if lengthy:
raise ValueError(
"To avoid confusion, timeline annotations must have a single"
" identifier between colons, so {timeline} is not valid. Please"
" use names without periods instead of e.g. {lengthy[0]}."
f" identifier between colons, so {timeline} is not valid. Please"
f" use names without periods instead of e.g. {lengthy[0]}."
)

self.timeline = timeline
Expand Down
Loading