Skip to content

Add a paragraph describing our stance on Python typing #1979

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

matthiask
Copy link
Member

I think we should an official paragraph to the contributing docs regarding our stance on typing. I tried describing what we're doing currently since I think it makes sense, but I'm definitely open to changing this. I don't think we should open a big round of discussions on this though.

@matthiask matthiask requested a review from tim-schilling August 5, 2024 07:21
Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

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

Seems fine. My issue is about adding code to silence/please people's personal environments because they have it configured differently than the baseline.

@matthiask
Copy link
Member Author

Do you think we should add something to address this concern? I totally agree with you but I have a hard time finding ways to describe this without referring to particular cases.

@tim-schilling
Copy link
Member

I don't know. It feels like it's a thing we need to commit to or not. Otherwise we end up with code like this, which I'd argue is adding code to please a configuration.

I think merging this PR is a step forward regardless.

@matthiask
Copy link
Member Author

OK let's do it step by step. Thank you!

@matthiask matthiask merged commit 9e30a06 into django-commons:main Aug 6, 2024
25 checks passed
@matthiask matthiask deleted the contributing-typing branch August 6, 2024 12:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants