Skip to content

Commit

Permalink
build: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
cbini committed Feb 2, 2024
1 parent 3dab484 commit 03086f4
Show file tree
Hide file tree
Showing 10 changed files with 190 additions and 157 deletions.
8 changes: 4 additions & 4 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ lint:
paths:
- .k8s/**/values.yaml
enabled:
- [email protected].3
- [email protected].5
- [email protected]
- trivy@0.48.3
- trivy@0.49.0
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- ruff@0.1.15
- ruff@0.2.0
- [email protected]
- git-diff-check
- [email protected].1
- [email protected].2
- [email protected]
- [email protected]
- [email protected]
Expand Down
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.analysis.typeCheckingMode": "basic",
"trunk.numJobs": 1,
"python.createEnvironment.trigger": "off",
"python.terminal.activateEnvironment": false,
"python.envFile": "${workspaceFolder}/env/.env"
Expand Down
283 changes: 167 additions & 116 deletions pdm.lock

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions src/teamster/kippcamden/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import pendulum
from pendulum.tz import timezone
from pendulum import timezone

from teamster.core.utils.classes import FiscalYear

CODE_LOCATION = "kippcamden"

LOCAL_TIMEZONE = timezone(name="America/New_York")
NOW = pendulum.now(tz=LOCAL_TIMEZONE)
TODAY = NOW.start_of(unit="day")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=TODAY, start_month=7)
LOCAL_TIMEZONE = timezone("America/New_York")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=pendulum.today(LOCAL_TIMEZONE), start_month=7)
8 changes: 3 additions & 5 deletions src/teamster/kippmiami/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import pendulum
from pendulum.tz import timezone
from pendulum import timezone

from teamster.core.utils.classes import FiscalYear

CODE_LOCATION = "kippmiami"

LOCAL_TIMEZONE = timezone(name="America/New_York")
NOW = pendulum.now(tz=LOCAL_TIMEZONE)
TODAY = NOW.start_of(unit="day")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=TODAY, start_month=7)
LOCAL_TIMEZONE = timezone("America/New_York")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=pendulum.today(LOCAL_TIMEZONE), start_month=7)
8 changes: 3 additions & 5 deletions src/teamster/kippnewark/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import pendulum
from pendulum.tz import timezone
from pendulum import timezone

from teamster.core.utils.classes import FiscalYear

CODE_LOCATION = "kippnewark"

LOCAL_TIMEZONE = timezone(name="America/New_York")
NOW = pendulum.now(tz=LOCAL_TIMEZONE)
TODAY = NOW.start_of(unit="day")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=TODAY, start_month=7)
LOCAL_TIMEZONE = timezone("America/New_York")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=pendulum.today(LOCAL_TIMEZONE), start_month=7)
8 changes: 3 additions & 5 deletions src/teamster/kipptaf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import pendulum
from pendulum.tz import timezone
from pendulum import timezone

from teamster.core.utils.classes import FiscalYear

CODE_LOCATION = "kipptaf"

LOCAL_TIMEZONE = timezone(name="America/New_York")
NOW = pendulum.now(tz=LOCAL_TIMEZONE)
TODAY = NOW.start_of(unit="day")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=TODAY, start_month=7)
LOCAL_TIMEZONE = timezone("America/New_York")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=pendulum.today(LOCAL_TIMEZONE), start_month=7)
8 changes: 3 additions & 5 deletions src/teamster/staging/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import pendulum
from pendulum.tz import timezone
from pendulum import timezone

from teamster.core.utils.classes import FiscalYear

CODE_LOCATION = "staging"

LOCAL_TIMEZONE = timezone(name="America/New_York")
NOW = pendulum.now(tz=LOCAL_TIMEZONE)
TODAY = NOW.start_of(unit="day")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=TODAY, start_month=7)
LOCAL_TIMEZONE = timezone("America/New_York")
CURRENT_FISCAL_YEAR = FiscalYear(datetime=pendulum.today(LOCAL_TIMEZONE), start_month=7)
5 changes: 4 additions & 1 deletion tests/sensors/test_powerschool_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ def test_powerschool_sensor():
)

dynamic_partition_sensor = build_powerschool_sensor(
name="test", asset_defs=partition_assets, execution_timezone=LOCAL_TIMEZONE
name="test",
asset_selection=partition_assets,
asset_defs=partition_assets,
execution_timezone=LOCAL_TIMEZONE,
)

sensor_results = dynamic_partition_sensor(
Expand Down
10 changes: 0 additions & 10 deletions tests/sensors/test_sftp_sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,6 @@ def test_sensor_achieve3k():
)


def test_sensor_clever_reports():
from teamster.kipptaf.clever.sensors import clever_reports_sftp_sensor
from teamster.kipptaf.resources import SSH_RESOURCE_CLEVER_REPORTS

_test_sensor(
sftp_sensor=clever_reports_sftp_sensor,
ssh_clever_reports=SSH_RESOURCE_CLEVER_REPORTS,
)


def test_sensor_deanslist():
from teamster.kipptaf.deanslist.sensors import deanslist_sftp_sensor
from teamster.kipptaf.resources import SSH_RESOURCE_DEANSLIST
Expand Down

0 comments on commit 03086f4

Please sign in to comment.