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

Finish adding type annotations to journalist_app #5491

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

nabla-c0d3
Copy link
Contributor

@nabla-c0d3 nabla-c0d3 commented Sep 12, 2020

Status

Ready.

Description of Changes

To help with #4399 , this PR adds type annotations to remaining files in journalist_app and enforces typing in this app.

@eloquence
Copy link
Member

Hi @nabla-c0d3, thanks again for your work on adding type annotations. Now that #5464 is merged, do you have time to finish up the follow-up PRs, or would you like our help with that?

@nabla-c0d3
Copy link
Contributor Author

@eloquence No problem, I will take care of the follow up PRs

@nabla-c0d3 nabla-c0d3 force-pushed the add-types-to-journalist-app branch 3 times, most recently from 2b94454 to 0a341f7 Compare September 25, 2020 07:16
@nabla-c0d3 nabla-c0d3 marked this pull request as ready for review September 25, 2020 07:29
@nabla-c0d3
Copy link
Contributor Author

Ready for review.

Fix types

Return HTTP 405 for wrong method
@nabla-c0d3 nabla-c0d3 force-pushed the add-types-to-journalist-app branch from 0a341f7 to fffd827 Compare October 10, 2020 21:14
@rmol rmol self-assigned this Oct 14, 2020
Copy link
Contributor

@rmol rmol left a comment

Choose a reason for hiding this comment

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

This looks good. I have one question about the static_folder checks before merging.

securedrop/journalist_app/admin.py Show resolved Hide resolved
securedrop/journalist_app/admin.py Show resolved Hide resolved
securedrop/journalist_app/api.py Show resolved Hide resolved
securedrop/journalist_app/main.py Show resolved Hide resolved
@rmol rmol merged commit 6475ae8 into freedomofpress:develop Oct 15, 2020
@nabla-c0d3 nabla-c0d3 deleted the add-types-to-journalist-app branch October 24, 2020 17:45
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.

3 participants