Skip to content

Commit

Permalink
Disable click unicode literals warning
Browse files Browse the repository at this point in the history
It seems that it is not enough to disable this warning just once.
  • Loading branch information
suutari-ai committed Mar 12, 2017
1 parent 54a48c7 commit 3668944
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prequ/scripts/build_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

from ..prereqfile import PreRequirements

click.disable_unicode_literals_warning = True


@click.command()
def main():
Expand Down
2 changes: 2 additions & 0 deletions prequ/scripts/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from ..prereqfile import PreRequirements
from . import compile_in

click.disable_unicode_literals_warning = True


@click.command()
@click.option('-v', '--verbose', is_flag=True, help="Show more output")
Expand Down
2 changes: 2 additions & 0 deletions prequ/scripts/compile_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
from ..writer import OutputWriter
from ._repo import get_pip_options_and_pypi_repository

click.disable_unicode_literals_warning = True

# Make sure we're using a compatible version of pip
assert_compatible_pip_version()

Expand Down
2 changes: 2 additions & 0 deletions prequ/scripts/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
from ..utils import assert_compatible_pip_version, flat_map
from ._repo import get_pip_options_and_pypi_repository

click.disable_unicode_literals_warning = True

# Make sure we're using a compatible version of pip
assert_compatible_pip_version()

Expand Down
2 changes: 2 additions & 0 deletions prequ/scripts/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from . import build_wheels
from . import compile

click.disable_unicode_literals_warning = True


@click.command()
@click.option('-v', '--verbose', is_flag=True, help="Show more output")
Expand Down

0 comments on commit 3668944

Please sign in to comment.