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

Refactor with strict ruff and mypy linting #1

Merged
merged 16 commits into from
Aug 18, 2024
Merged

Refactor with strict ruff and mypy linting #1

merged 16 commits into from
Aug 18, 2024

Conversation

seapagan
Copy link
Owner

@seapagan seapagan commented Aug 18, 2024

Refactored the code quite a bit to modern practices.

Added Ruff and Mypy for linting in strict modes, and fix all issues flagged.
Mypy runs on strict mode with no errors or warnings 🎉

@seapagan seapagan self-assigned this Aug 18, 2024
@seapagan seapagan changed the title enable strict ruff and mypy linting Refactor with strict ruff and mypy linting Aug 18, 2024
@seapagan seapagan marked this pull request as draft August 18, 2024 16:27
otherwise it defaults to 3.8 which causes issues d/t the import
re-defining

Signed-off-by: Grant Ramsay <[email protected]>
it chokes on GitHub but works locally. For some reason it will NOT agree
to run as Python 3.9

Signed-off-by: Grant Ramsay <[email protected]>
Signed-off-by: Grant Ramsay <[email protected]>
@seapagan seapagan marked this pull request as ready for review August 18, 2024 18:48
@seapagan seapagan merged commit a4ce5d1 into master Aug 18, 2024
10 checks passed
@seapagan seapagan deleted the fix-linting branch August 18, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant