We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this was correctly recognized by ruff nut missing here so in combination with yesqa we had disproportion
ruff
yesqa
This is an example where the mentioned rule(s) would currently be suboptimal: https://github.com/Lightning-AI/lightning/blob/8dac2512733bae034f437334a71e4c114d458a7c/src/lightning/pytorch/trainer/connectors/callback_connector.py#L229
if _PYTHON_GREATER_EQUAL_3_8_0: from importlib.metadata import entry_points if _PYTHON_GREATER_EQUAL_3_10_0: # <-- HERE factories = entry_points(group=group) else: factories = entry_points().get(group, {}) # type: ignore[arg-type] else: from pkg_resources import iter_entry_points
The text was updated successfully, but these errors were encountered:
MartinThoma
No branches or pull requests
Desired change
Explanation
this was correctly recognized by
ruff
nut missing here so in combination withyesqa
we had disproportionExample
This is an example where the mentioned rule(s) would currently be suboptimal:
https://github.com/Lightning-AI/lightning/blob/8dac2512733bae034f437334a71e4c114d458a7c/src/lightning/pytorch/trainer/connectors/callback_connector.py#L229
The text was updated successfully, but these errors were encountered: