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
Some GAPICs have a manual layer and corresponding handwritten unit tests.
These handwritten surfaces are subject to linting, but the
autogenerated portions of the surface should not be.
Moving generated unit tests to their own subdirectory makes it easier
to remove them from linting rules.
implementation for googleapis#454
Some GAPICs have a manual layer and corresponding handwritten unit tests.
These handwritten surfaces are subject to linting, but the
autogenerated portions of the surface should not be.
Moving generated unit tests to their own subdirectory makes it easier
to remove them from linting rules.
implementation for #454
I noticed we didn't actually lint the generated code in the monolith, and I don't think it's necessary for the microgenerator either. (See .flake8)
Could we move the generated tests to
tests/unit/gapic
so flake8 will ignore it with the rule**/gapic/**
?We can't blanket ignore
**/unit/**
because hybrid libraries (e.g. Pub/Sub) may have hand written unit tests.Related to #425, #323
The text was updated successfully, but these errors were encountered: