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

Adding validator for files to upload on SDK #66

Merged
merged 9 commits into from
Oct 3, 2024

Conversation

SeqLaz
Copy link
Member

@SeqLaz SeqLaz commented Sep 21, 2024

No description provided.

@SeqLaz SeqLaz requested a review from suricactus September 21, 2024 21:07
Copy link
Collaborator

@suricactus suricactus left a comment

Choose a reason for hiding this comment

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

Can you instead use pathvalidate https://github.com/thombashi/pathvalidate/tree/master library?

Avoid returning tuples from functions. Also check for the filte path (directory name on QFieldCloud) validity.

@SeqLaz
Copy link
Member Author

SeqLaz commented Sep 23, 2024

Can you instead use pathvalidate https://github.com/thombashi/pathvalidate/tree/master library?

Avoid returning tuples from functions. Also check for the filte path (directory name on QFieldCloud) validity.

Great, I didn't know about this library!

qfieldcloud_sdk/sdk.py Outdated Show resolved Hide resolved
qfieldcloud_sdk/sdk.py Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
Co-authored-by: Ivan Ivanov <[email protected]>
SeqLaz and others added 2 commits October 3, 2024 14:08
@SeqLaz SeqLaz merged commit bc4413a into master Oct 3, 2024
8 checks passed
@SeqLaz SeqLaz deleted the check_for_forbidden_characters branch October 3, 2024 20:20
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