Skip to content

Conversation

@robhudson
Copy link
Collaborator

No description provided.

Copy link
Member

@jwhitlock jwhitlock left a comment

Choose a reason for hiding this comment

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

Thanks @robhudson! I like it when the robots point out issues, and love it when they can make the changes too.

[tool.setuptools.packages]
find = { namespaces = false }

[tool.ruff]
Copy link
Member

Choose a reason for hiding this comment

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

👍 I'm glad to see us merging to pyproject.toml!



def migrate_settings() -> Tuple[Dict[str, Any], bool]:
def migrate_settings() -> tuple[dict[str, Any], bool]:
Copy link
Member

Choose a reason for hiding this comment

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

It's interesting that this is allowed with Python 3.8 with from __future__ import annotations


@register.tag(name="script")
def script(parser: Parser, token: Token) -> "NonceScriptNode":
def script(parser: Parser, token: Token) -> NonceScriptNode:
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch!

@robhudson robhudson merged commit b348924 into main Jul 1, 2024
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