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

chore(API): Improve parameter names on __exit__. #234

Merged
merged 1 commit into from Mar 26, 2018

Conversation

d-bohls
Copy link
Contributor

@d-bohls d-bohls commented Mar 8, 2018

__exit__ parameter 'type' shadows a built-in name.
I like the descriptive naming chosen here.

  • This contribution adheres to CONTRIBUTING.md.
  • New tests have been created for any new features or regression tests for bugfixes.
  • tox successfully runs, including unit tests and style checks (see CONTRIBUTING.md).

@d-bohls d-bohls requested a review from jashnani March 8, 2018 06:52
@d-bohls d-bohls self-assigned this Mar 8, 2018
@coveralls
Copy link

coveralls commented Mar 8, 2018

Coverage Status

Coverage remained the same at 68.178% when pulling ccac867 on d-bohls:exitArgs into 1af04b0 on ni:master.

__exit__ paramter 'type' shadows a built-in name.
I like the descriptive naming chosen here:
docs.quantifiedcode.com/python-anti-patterns/correctness/exit_must_accept_three_arguments.html
@jashnani jashnani merged commit e9a946b into ni:master Mar 26, 2018
@d-bohls d-bohls deleted the exitArgs branch March 26, 2018 20:25
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

3 participants