Skip to content

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented May 2, 2020

  • Rename replacements to additional_replacements (this is the name that Seth wanted to use initially, and it's just better)
  • Mark Rule.unasync_file as private, now that unasync.unasync_files exists

pquentin added 2 commits May 2, 2020 22:35
The public API is unasync.unasync_files now.
It clarifies that we're only adding replacement, not replacing the
existing ones. Also, black tends to put this on a single line, so we the
additional characters are not a problem in practice.
@pquentin pquentin requested a review from sethmlarson May 2, 2020 18:46
@codecov
Copy link

codecov bot commented May 2, 2020

Codecov Report

Merging #59 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #59   +/-   ##
=======================================
  Coverage   97.63%   97.63%           
=======================================
  Files           2        2           
  Lines         127      127           
  Branches       31       31           
=======================================
  Hits          124      124           
  Misses          1        1           
  Partials        2        2           
Impacted Files Coverage Δ
src/unasync/__init__.py 97.61% <100.00%> (ø)

Copy link
Contributor

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

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

LGTM

@pquentin pquentin merged commit 19f5b15 into master May 2, 2020
@pquentin pquentin deleted the api-tweaks branch May 2, 2020 19:05
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.

2 participants