Skip to content

Commit

Permalink
Corrected suppression of linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
sffjunkie committed May 20, 2020
1 parent e8e4ec8 commit 7e2a7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/astral/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
if args.date is not None:
try:
kwargs["date"] = datetime.datetime.strptime(args.date, "%Y-%m-%d").date()
except: # noqa: E0722
except: # noqa: E722
kwargs["date"] = datetime.date.today()

sun_as_str = {}
Expand Down

0 comments on commit 7e2a7bf

Please sign in to comment.