Skip to content

Add codespell support (config, workflow to detect/not fix) and make it fix few typos#35

Open
yarikoptic wants to merge 5 commits into
seekrcentral:masterfrom
yarikoptic:enh-codespell
Open

Add codespell support (config, workflow to detect/not fix) and make it fix few typos#35
yarikoptic wants to merge 5 commits into
seekrcentral:masterfrom
yarikoptic:enh-codespell

Conversation

@yarikoptic
Copy link
Copy Markdown

More about codespell: https://github.com/codespell-project/codespell .

I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback.

CI workflow has 'permissions' set only to 'read' so also should be safe.

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
try:
triangulation = Delaunay(points)
vor = Voronoi(points)
voronoi = Voronoi(points)
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.

While this appears to be unused, it's a little weird that the tool suggests changes to variable names.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

It was me reacting on tool finding vor to be a close hit to a typo. I did that in a separate commit. If you would like I can just remove variable altogether or a full line - wasn't sure if code doesn't rely on some side effects there

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