Skip to content

Conversation

@janiversen
Copy link
Collaborator

Changed the _noop introduced, with a more elegant one line solution.

@janiversen
Copy link
Collaborator Author

@alexrudd2 you were the one who suggested to use "lambda: None" :-)

so lets see if mypy in CI accepts it.

@janiversen janiversen merged commit 5d1b59f into dev Oct 27, 2023
@janiversen janiversen deleted the transport branch October 27, 2023 07:34
@alexrudd2
Copy link
Collaborator

mypy in CI accepts the lambda: None because it is not in strict mode.
mypy in strict mode will not. 🤣

@janiversen
Copy link
Collaborator Author

Well we are a long way from putting mypy in strict mode, not sure that will ever happen.

@alexrudd2
Copy link
Collaborator

Aha, but we are close to strict-optional = True

alexrudd2 added a commit that referenced this pull request Oct 31, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants