Skip to content

Commit

Permalink
Lint: Fixed black errors.
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Mittal <[email protected]>
  • Loading branch information
varunmittal91 committed Oct 24, 2023
1 parent 4b24a82 commit 6898bb4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
branches:
- main
- dev

jobs:
coverage:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Lint

on:
push:
pull_request:
branches:
- main
- dev

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion focus_validator/rules/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def check_datetime_dtype(pandas_obj: pd.Series):
def __validate_date_obj__(value: Union[str, datetime]):
if isinstance(value, str):
# fix of python 3.10 and lower, strings ending with Z are not parsed automatically
if value.endswith('Z'):
if value.endswith("Z"):
value = value.replace("Z", "+00:00")

try:
Expand Down

0 comments on commit 6898bb4

Please sign in to comment.