diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1ad1519..e15ec3f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,6 +1,6 @@ name: Push -on: push +on: [push, pull_request] jobs: build: diff --git a/.gitignore b/.gitignore index 29eeb8d..5d4cd85 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ snapshot.png old/ *.lock dist/ -.python-version \ No newline at end of file +.python-version +build diff --git a/src/underground/models.py b/src/underground/models.py index d881c1d..a6d3852 100644 --- a/src/underground/models.py +++ b/src/underground/models.py @@ -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))