Skip to content

Apply some more linting rules#601

Merged
mtorpey merged 7 commits intodigraphs:stable-1.6from
james-d-mitchell:linting
Jan 10, 2024
Merged

Apply some more linting rules#601
mtorpey merged 7 commits intodigraphs:stable-1.6from
james-d-mitchell:linting

Conversation

@james-d-mitchell
Copy link
Copy Markdown
Member

No description provided.

@james-d-mitchell james-d-mitchell force-pushed the linting branch 2 times, most recently from 312875d to 63afa08 Compare January 5, 2024 16:43
Comment thread gap/io.gi
InstallMethod(DigraphFromSparse6String, "for a function and a string",
[IsFunction, IsString],
DigraphFromSparse6StringCons);
[IsFunction, IsString], DigraphFromSparse6StringCons);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why?

Copy link
Copy Markdown
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.

Comment thread gap/isomorph.gi
fail,
"AutomorphismGroup")[1];
end);
[IsDigraph, IsHomogeneousList], {D, colors} -> BLISS_DATA(D, colors, fail)[1]);
Copy link
Copy Markdown
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
Copy Markdown
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
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