Skip to content
New issue

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

DM-34610: Disable flake8 N818 for faked exceptions. #15

Merged
merged 1 commit into from May 23, 2022
Merged

Conversation

ktlim
Copy link
Contributor

@ktlim ktlim commented May 23, 2022

This is fallout from the change to flake8 4.0 with pep8-naming 0.12.1.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

@codecov
Copy link

codecov bot commented May 23, 2022

Codecov Report

Merging #15 (7bc7dee) into main (f1bf1f7) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage   85.92%   85.92%           
=======================================
  Files          22       22           
  Lines        2714     2714           
  Branches      404      404           
=======================================
  Hits         2332     2332           
  Misses        304      304           
  Partials       78       78           
Impacted Files Coverage Δ
python/lsst/resources/gs.py 22.16% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f1bf1f7...7bc7dee. Read the comment docs.

Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

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

We have no choice on this one given that these are google classes we are emulating.

pass

class InternalServerError(ClientError): # type: ignore
class InternalServerError(ClientError): # type: ignore # noqa: N818
Copy link
Member

Choose a reason for hiding this comment

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

This one doesn't need the noqa because it does end in Error.

@ktlim ktlim merged commit 4709c1a into main May 23, 2022
@ktlim ktlim deleted the tickets/DM-34610a branch May 23, 2022 22:43
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.

None yet

2 participants