Skip to content

Commit

Permalink
Merge pull request #26 from nolanbconaway/nolan/black
Browse files Browse the repository at this point in the history
Format models.py
  • Loading branch information
nolanbconaway authored Dec 5, 2022
2 parents b76fbf9 + 0d6267b commit 88961ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Push

on: push
on: [push, pull_request]

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ snapshot.png
old/
*.lock
dist/
.python-version
.python-version
build
2 changes: 1 addition & 1 deletion src/underground/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class UnixTimestamp(pydantic.BaseModel):
def timestamp_nyc(self):
"""Return the NYC datetime."""
if not self.time:
return None
return None
return self.time.astimezone(pytz.timezone(metadata.DEFAULT_TIMEZONE))


Expand Down

0 comments on commit 88961ef

Please sign in to comment.