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

Add codespell config and add to pre-commit #10893

Merged
merged 13 commits into from
Nov 13, 2023

Conversation

yarikoptic
Copy link
Contributor

This is pretty much a continuation of #10813 (comment) to ensure that no new typo sneaks in.

@yarikoptic yarikoptic requested a review from a team as a code owner October 4, 2023 22:35
@netlify
Copy link

netlify bot commented Oct 4, 2023

👷 Deploy request for prefect-docs-preview pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 62e55f3

@github-actions
Copy link
Contributor

This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment.

@yarikoptic
Copy link
Contributor Author

well -- it needs blessing (merge) or a curse (close)

@serinamarie
Copy link
Contributor

Hi @yarikoptic, thanks for contributing! I don't think this will pass our pre-commit check with the misspellings in https://github.com/PrefectHQ/prefect/actions/runs/6725390065/job/18279665245?pr=10893#step:5:30.

You may also need to add Dependant to the list of ignored words.

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w || :",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
@yarikoptic
Copy link
Contributor Author

done @serinamarie -- should be all green now. But if wait is long enough, new typos would sneak in again ;)

@serinamarie
Copy link
Contributor

serinamarie commented Nov 2, 2023

done @serinamarie -- should be all green now. But if wait is long enough, new typos would sneak in again ;)

Running the workflows again :) Although I think it might need to be added to our requirements-dev.txt?

Looks like there were some failures: https://github.com/PrefectHQ/prefect/actions/runs/6738265300/job/18317503147?pr=10893#step:5:30

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w .github/ISSUE_TEMPLATE/5_maintenance_ticket.yaml .github/workflows/python-tests.yaml .github/workflows/python-tests.yaml .github/ISSUE_TEMPLATE/2_ui_bug_report.yaml",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
@yarikoptic
Copy link
Contributor Author

ah dang, forgot to report etc. Now did codespell-project/codespell#3196 and "fixed for it" here.

@yarikoptic
Copy link
Contributor Author

and added to requirements-devel.txt

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
@yarikoptic
Copy link
Contributor Author

I also was told how to test hidden folders, so added that setting and fixed 1 more typo

Copy link
Contributor

@serinamarie serinamarie left a comment

Choose a reason for hiding this comment

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

Thanks @yarikoptic for your contribution :)

@serinamarie serinamarie merged commit 6d7acc7 into PrefectHQ:main Nov 13, 2023
51 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.

3 participants