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

Add stubs for python3-saml to fix mypy errors #65

Merged
merged 2 commits into from
Dec 10, 2023
Merged

Add stubs for python3-saml to fix mypy errors #65

merged 2 commits into from
Dec 10, 2023

Conversation

taesungh
Copy link
Member

For mypy to work in the checks workflow created in #64, we need to resolve lingering type issues.

This PR will be on standby as we merge #64 to verify the checks workflow will fail because of the type issue. We can merge this PR immediately after that which should resolve the issue. There will be a merge conflict in pyproject.toml for which we take the version in this PR.

Changes

  • Use stubgen to generate stubs for onelogin.saml2.auth and onelogin.saml2.settings and fix imports
  • Add stubs directory to mypy_path

- Use stubgen to generate stubs for onelogin.saml2.auth and
  onelogin.saml2.settings and fix imports
- Add `stubs` directory to `mypy_path`
Copy link
Contributor

github-actions bot commented Dec 10, 2023

Deploy preview for irvinehacks-site-2024-sanity ready!

Name Sanity Studio
Preview Visit Preview
Commit 01adba7

Copy link
Contributor

github-actions bot commented Dec 10, 2023

Deploy preview for irvinehacks-site-2024 ready!

Name IrvineHacks 2024 Site
Preview Visit Preview
Commit 01adba7

samderanova
samderanova previously approved these changes Dec 10, 2023
Copy link
Contributor

@samderanova samderanova left a comment

Choose a reason for hiding this comment

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

Looks good, let's merge #64 first and then squash merge this one whenever you're ready.

apps/api/stubs/onelogin/saml2/auth.pyi Show resolved Hide resolved
taesungh added a commit that referenced this pull request Dec 10, 2023
- Include Python dev dependencies for checks runner
- Configure Python linting tools and provide compatible VS Code settings
- Update production deployment to run only when checks succeed
- This will fail checks, see #64 and #65
@taesungh taesungh merged commit cd80b69 into main Dec 10, 2023
4 checks passed
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