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

Docs and fix #155

Merged
merged 2 commits into from Sep 24, 2020
Merged

Docs and fix #155

merged 2 commits into from Sep 24, 2020

Conversation

vincentsarago
Copy link
Member

No description provided.

allow_intermediate_compression: bool = False,
forward_band_tags: bool = False,
quiet: bool = False,
temporary_compression: str = "DEFLATE",
Copy link
Member Author

Choose a reason for hiding this comment

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

Added missing Types

@@ -242,7 +242,7 @@ def cog_translate( # noqa: C901
if not quiet:
click.echo("Reading input: {}".format(source), err=True)
fout = os.devnull if quiet else sys.stderr
with click.progressbar(wind, file=fout, show_percent=True) as windows:
with click.progressbar(wind, file=fout, show_percent=True) as windows: # type: ignore
Copy link
Member Author

Choose a reason for hiding this comment

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

mypy doesn't like progressbar

ovr_resolution = corrected_resolution * overview_level
overview_level = get_maximum_overview_level(w, h, minsize=tilesize)

ovr_resolution = corrected_resolution * (2 ** overview_level)
Copy link
Member Author

Choose a reason for hiding this comment

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

@@ -27,7 +28,7 @@

setup(
name="rio-cogeo",
version="2.0a7",
version="2.0a7.post1",
Copy link
Member Author

Choose a reason for hiding this comment

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

doing a post release for the min-zoom fix

@vincentsarago vincentsarago merged commit f38eed1 into master Sep 24, 2020
@vincentsarago vincentsarago deleted the docsAndFix branch October 3, 2020 13:48
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