Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse committed Apr 18, 2023
1 parent bcb9da5 commit 35bcf4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 0.7.5

- Fix `--status-code` filter
-
-
# 0.7.4

- Validate `--status-code` between 100 and 599
Expand Down
2 changes: 1 addition & 1 deletion cert_host_scraper/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def validate_status_code(
status_code = int(value)
if not (100 <= status_code <= 599):
raise click.BadParameter("status code must be between 100 and 599")

return status_code
except ValueError:
raise click.BadParameter("must be an integer")
Expand Down

0 comments on commit 35bcf4b

Please sign in to comment.