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

Two authentication method in one App #128

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

Conversation

mohsspark829
Copy link

@mohsspark829 mohsspark829 commented Apr 14, 2023

Thanks:)

@mohsspark829
Copy link
Author

Hi Jonas,

I am getting this error in PR
fix end of files.........................................................Passed
trim trailing whitespace.................................................Failed

  • hook id: trailing-whitespace
  • exit code: 1
  • files were modified by this hook

Fixing docs/docs/multi-tenant/azure_setup.mdx
Fixing docs/docs/single-tenant/azure_setup.mdx

Not sure how to fix it. Could you please advise.

Thanks

@JonasKs
Copy link
Member

JonasKs commented Apr 14, 2023

Thank you 🚀

EDIT: Edit: ohhh, I see, the pipeline fails. It is because we use pre-commit. If you have pre-commit locally, you can write pre-commit install. Whenever you commit, it will automatically run all the lints and fix these things. The hook failing now, fails because there is missing an empty line at the end of the file (as is standard in Python). If you run pre-commit locally, it would fix it for you, and my answer below would be correct 😁

You can read about pre-commit in the CONTRIBUTING.md file 😊

The files have probably been fixed, but you need to git add them again, since they've changed. pre-commit only runs on staged files (files you've added to the commit), so when you:

  • add a file
  • run pre-commit
    • pre-commit changes a file
  • write git status

You'll see that the change made by pre-commit isn't staged.

As a side note: I'm at the airport, going to PyCon and a little vacation, so it might take a while before I get to review this PR 😊

@mohsspark829
Copy link
Author

mohsspark829 commented Apr 14, 2023 via email

ohhh, thanks for spotting these

Co-authored-by: Rhuan Barreto <[email protected]>
@JonasKs
Copy link
Member

JonasKs commented May 19, 2023

Hey @mohsspark829 😊 I have not forgot about this, but have not found the time. I'll try to get back to you soon.

@mohsspark829
Copy link
Author

mohsspark829 commented May 19, 2023 via email

@JonasKs JonasKs mentioned this pull request Mar 4, 2024
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.

None yet

3 participants