Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply some more linting rules #601

Merged
merged 7 commits into from
Jan 10, 2024
Merged

Conversation

james-d-mitchell
Copy link
Member

No description provided.

local D;
D := MakeImmutable(DigraphFromSparse6String(IsMutableDigraph, s));
SetIsSymmetricDigraph(D, true);
return D;
end);

InstallMethod(DigraphFromSparse6String, "for a function and a string",
[IsFunction, IsString],
DigraphFromSparse6StringCons);
[IsFunction, IsString], DigraphFromSparse6StringCons);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why?

Copy link
Member Author

Choose a reason for hiding this comment

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

As I think Reimer Behrens once said: "vertical screen real estate is at a premium", so one less line is a good thing from this perspective.

fail,
"AutomorphismGroup")[1];
end);
[IsDigraph, IsHomogeneousList], {D, colors} -> BLISS_DATA(D, colors, fail)[1]);
Copy link
Collaborator

Choose a reason for hiding this comment

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

We definitely don't want the last argument in these?

Copy link
Member Author

Choose a reason for hiding this comment

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

Definitely don't, I think this was a remnant of some earlier code.

@mtorpey mtorpey merged commit abcbc8b into digraphs:stable-1.6 Jan 10, 2024
20 of 21 checks passed
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