-
-
Notifications
You must be signed in to change notification settings - Fork 23
feat: extend ruff checking and fix found issues #195
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
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
fbebf77
chore: extend ruff scope
nijel c7084d4
chore: use asserts directly for pytest
nijel 838c09f
chore: fix docstrings
nijel 9887076
chore: update ruff config
nijel f9ee662
chore: simplify - operation
nijel 0028ba8
chore: add simple type annotations
nijel c460656
chore: directly return result
nijel f71e497
chore: use list/dict directly
nijel 79f473d
chore: use ternary operator
nijel 64978c1
chore: update list using extend
nijel f6aea58
chore: use pathlib helpers to write files
nijel 9ddd22b
chore: use maxsplit
nijel 1ab2e14
chore: use raw string for regex
nijel e222b4c
chore: avoid concatenation on one line
nijel e9387c9
chore: sort imports
nijel ec0105c
chore: Use a set literal when testing for membership
nijel 631895d
chore: update ruff formatting
nijel 2587b6b
chore: use f-string instead for format
nijel 02f9339
chore: annotate S603
nijel ade0a44
chore: scope assert test
nijel 9d4fab3
chore: simplify exception raising
nijel 46df1c9
chore: scope PYI056
nijel 1143563
chore: use context to catch exceptions in tests
nijel ef386a0
chore: use pytest.skip
nijel f3dbcb4
chore: define encoding on files
nijel ea47cef
chore: avoid using global variable to track state
nijel caaf285
chore: avoid redefining argument with the local name
nijel 6395a72
chore: annotate too many nested blocks
nijel 1ae2dde
chore: simplify empty string conditions
nijel eeb48ef
chore: use pathlib to read file content
nijel a9780bc
chore: document todo
nijel ad0644e
chore: remove no longer needed overrides
nijel 687c939
chore: improve docstrings
nijel be3daa6
chore: fix docstring formatting
nijel 21b700e
chore: improve docstrings
nijel 8d8de91
chore: add missing file header
nijel b31f1b2
chore: annotate BLE001
nijel 9b6378c
chore: avoid overwriting loop variables
nijel 217d3ec
fix: assert specific exception
nijel 793a215
fix: improve async waiting for thread
nijel 68de586
chore: apply review feedback
nijel c14abf7
chore: ignore uv lock file
nijel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,3 +8,4 @@ python_gammu.egg-info/ | |
| .coverage | ||
| /.cache/ | ||
| _codeql_detected_source_root | ||
| /uv.lock | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.