Skip to content

Commit

Permalink
Apply pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Dec 6, 2021
1 parent 99d60c8 commit 6a18576
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/pyhf/cli/complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def cli(shell):
'''Generate shell completion code for various shells.'''
click.echo(click_completion.core.get_code(shell, prog_name='pyhf'))


except ImportError:

@click.command(help='Generate shell completion code.', name='completions')
Expand Down
1 change: 0 additions & 1 deletion src/pyhf/contrib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ def download(archive_url, output_directory, force=False, compress=False):
rmtree(output_directory)
_tmp_path.replace(output_directory)


except ModuleNotFoundError:
log.error(
"\nInstallation of the contrib extra is required to use pyhf.contrib.utils.download"
Expand Down

0 comments on commit 6a18576

Please sign in to comment.