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

🔧 Make NEEDS_CONFIG type safe #1001

Merged
merged 3 commits into from
Aug 28, 2023
Merged

🔧 Make NEEDS_CONFIG type safe #1001

merged 3 commits into from
Aug 28, 2023

Conversation

chrisjsewell
Copy link
Member

@chrisjsewell chrisjsewell commented Aug 28, 2023

This commit makes NEEDS_CONFIG specific to the actual data that it holds, rather than just a generic data store.


Note, I have a feeling that this should be replaced entirely, since I'm not a big fan of mutable global variables.
But, for now, this does not change in any way the logic of sphinx-needs

This commit makes `NEEDS_CONFIG` specific to the actual data that it holds, rather than just a generic data store.
@chrisjsewell chrisjsewell requested a review from danwos August 28, 2023 08:05
Copy link
Member

@danwos danwos left a comment

Choose a reason for hiding this comment

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

You are too fast for my review skills ;)

Looks good to me 👍

@chrisjsewell chrisjsewell merged commit a09a539 into master Aug 28, 2023
@chrisjsewell chrisjsewell deleted the improve-config branch August 28, 2023 08:37
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