Zulip Chat Archive
Stream: PhysLean
Topic: Linting PhysLean
Joseph Tooby-Smith (Oct 27 2025 at 06:48):
I made this PR PhysLean#790 which contains some documentation about the various linters which can be run on PhysLean and what they do. If anyone has any suggestions of how it can be improved, I would be very glad to hear them.
Fabio Anzà (Nov 27 2025 at 00:38):
Hey @Joseph Tooby-Smith , I was going through the linters (lake exe lint_all) and the Style linter was flagging a bunch of stuff on SpaceTime, which is not at all what I worked on.
The question is: should I fix those as well?
Joseph Tooby-Smith (Nov 27 2025 at 05:56):
Hmm odd, could you paste the output here? But no need to fix these.
Joseph Tooby-Smith (Nov 27 2025 at 10:46):
Ok, I manage to work this out - the linter errors you are seeing are on "optional linters" (lets call them), ones that appear in lake exe lint_all but are not strictly enforced by GitHub, so sometimes slip through the net.
I have fixed them in PhysLean#820, which I will merge, and then make a note here - after which merging with Master should remove these errors for you. (update: This PR has now been merged into master).
Joseph Tooby-Smith (Nov 27 2025 at 10:47):
(deleted - on a train with poor internet so sent message twice)
Fabio Anzà (Nov 27 2025 at 23:00):
Thanks, but it happened again. Not sure why. I'm attaching a screenshot
Screenshot 2025-11-27 at 6.53.07 PM.png
Fabio Anzà (Nov 28 2025 at 00:09):
I'm happy to fix them and they can get pulled once I issue the PR
Joseph Tooby-Smith (Nov 28 2025 at 05:47):
They should be fixed now :). You will need to update your fork with master (merge master into your fork), but then these should go away, no need for you to do anything :).
Last updated: Dec 20 2025 at 21:32 UTC