You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gets flagged as: N812 Lowercase functional imported as non-lowercase 'F'
I would like to have an option to enable using this specific package without having to write noqa on every import line or disabling N812 entirely. Is it possible?
The text was updated successfully, but these errors were encountered:
This typical ML idiom:
import torch.nn.functional as F
(see https://github.com/pytorch/examples/blob/main/mnist/main.py#L5)gets flagged as:
N812 Lowercase
functionalimported as non-lowercase 'F'
I would like to have an option to enable using this specific package without having to write
noqa
on every import line or disabling N812 entirely. Is it possible?The text was updated successfully, but these errors were encountered: