Skip to content

ruff linted and ruff checked #8

Merged
SamuelLarkin merged 2 commits into
mainfrom
dev.sl/ruff
May 14, 2026
Merged

ruff linted and ruff checked #8
SamuelLarkin merged 2 commits into
mainfrom
dev.sl/ruff

Conversation

@SamuelLarkin

@SamuelLarkin SamuelLarkin commented May 12, 2026

Copy link
Copy Markdown
Contributor

While doing plive work, I had to look at PortageTextProcessing and "had" to ruff check --target-version py310 --output-format=concise bin/.

Depends on #9

@joanise joanise left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beauteous! Love the change.

Now we just need prek to auto-apply these à la pre-commit. 😉

And boy, all sorts of refactoring could be done, but that's out of scope here so I won't spend too much time looking.

Comment thread .github/workflows/test-suite.yml Outdated
max-parallel: 5
matrix:
python: ["3.7", "3.12"]
python: ["3.10", "3.14"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum, why are we being so cheap here? We should do all five supported versions.

Comment thread bin/lines.py
if len(sys.argv) != 3:
sys.stderr.write("Usage: lines.py \n\
sys.stderr.write(
"Usage: lines.py \n\

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we didn't know about dedent when we wrote this...

@SamuelLarkin
SamuelLarkin merged commit 8360bf7 into main May 14, 2026
5 checks passed
@SamuelLarkin
SamuelLarkin deleted the dev.sl/ruff branch May 14, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants