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

Support "stub_distribution" and "upload" metadata fields #9256

Merged
merged 3 commits into from
Nov 23, 2022

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Nov 23, 2022

No description provided.

@@ -40,7 +51,7 @@ def assert_consistent_filetypes(
if entry.is_file():
if not allow_nonidentifier_filenames:
assert entry.stem.isidentifier(), f'Files must be valid modules, got: "{entry}"'
bad_filetype = f'Only {extension_descriptions[kind]!r} files allowed in the "{directory}" directory; got: {entry}'
bad_filetype = f'Only {extension_descriptions[kind]!r} files allowed in the "{directory}" directory; got: {entry}'
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for fixing this :)

tests/check_consistent.py Outdated Show resolved Hide resolved
tests/check_consistent.py Outdated Show resolved Hide resolved
srittau and others added 2 commits November 23, 2022 12:58
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@srittau
Copy link
Collaborator Author

srittau commented Nov 23, 2022

Also, GitHub Copilot is frightening sometimes:

copilot

@srittau
Copy link
Collaborator Author

srittau commented Nov 23, 2022

I'm ignoring the unrelated pyright errors.

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