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

fix warnings #37

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

kuhnst-akros-ch
Copy link
Contributor

@kuhnst-akros-ch kuhnst-akros-ch commented Oct 17, 2024

Hi Saurabh

The utf8 PR #36 is really a problem when on Windows.
This PR here has my the small fixes for warnings by IntelliJ/SonarLint.
Use what you like.

Thanks for this project!

p.s.
I renamed some branches after opening PRs on them. Sry for the noise or any extra emails.

@kuhnst-akros-ch kuhnst-akros-ch force-pushed the upstreams_PR/fix_warnings branch from b1adad9 to 0d52596 Compare October 17, 2024 22:56
@kuhnst-akros-ch kuhnst-akros-ch changed the title Upstreams pr/fix warnings fix warnings Oct 17, 2024
Ignore IntelliJ and whatsapp_backup
Sonarlint pythonS1515

Warning was:

Add a parameter to the parent lambda function and use variable "message" as its default value; The value of "message" might change at the next loop iteration.
Sonarlint python:S112

Replace this generic exception class with a more specific one.
Is int in tests and on real data too.
Is int in tests and on real data too.
In the sqlite db chat._id is an integer
In the sqlite message.chat_row_id is an integer
So `--backup_specific_or_all_chat_call all` works
@kuhnst-akros-ch kuhnst-akros-ch force-pushed the upstreams_PR/fix_warnings branch from 1a5bb92 to 12b3e31 Compare October 20, 2024 14:47
@kuhnst-akros-ch
Copy link
Contributor Author

Rebased on main branch to fix merge conflicts from PR #36 "Write files in UTF-8"

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.

1 participant