From 4636c377094671cafee1ac6da878878b06cdd058 Mon Sep 17 00:00:00 2001 From: RogerSelwyn Date: Thu, 16 May 2024 12:37:24 +0100 Subject: [PATCH 1/3] maint: Update requirements_release.txt --- requirements_release.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements_release.txt b/requirements_release.txt index c9399f6..6f6ea77 100644 --- a/requirements_release.txt +++ b/requirements_release.txt @@ -1 +1,2 @@ PyGithub>=1.51 +ruff==0.4.2 From 4804930c0814b02f9680041aa613c83cd13a1965 Mon Sep 17 00:00:00 2001 From: RogerSelwyn Date: Thu, 16 May 2024 12:38:34 +0100 Subject: [PATCH 2/3] maint: Create lint.yaml --- .github/workflows/lint.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..0bac502 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,27 @@ +name: "Lint" + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + +jobs: + lint: + name: Lint + runs-on: "ubuntu-latest" + steps: + - name: "Checkout the repository" + uses: actions/checkout@v4 + + - name: "Set up Python" + uses: actions/setup-python@v5 + with: + python-version: "3.12" + cache: "pip" + + - name: "Install requirements" + run: python3 -m pip install -r requirements_release.txt + + - name: "Run" + run: python3 -m ruff check . From dfa1cc266c1e1422b80f7cc60e4f6fa80525166c Mon Sep 17 00:00:00 2001 From: RogerSelwyn Date: Thu, 16 May 2024 21:30:17 +0100 Subject: [PATCH 3/3] doc: Update installation_and_configuration.md --- docs/installation_and_configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation_and_configuration.md b/docs/installation_and_configuration.md index 51f0ade..819fced 100644 --- a/docs/installation_and_configuration.md +++ b/docs/installation_and_configuration.md @@ -64,7 +64,7 @@ o365: Key | Type | Required | Description -- | -- | -- | -- -`account_name` | `string` | `True` | Uniquely identifying name for the account. Calendars entity names will be suffixed with this. `calendar.calendar_account1` +`account_name` | `string` | `True` | Uniquely identifying name for the account. Calendars entity names will be suffixed with this. `calendar.calendar_account1`. Do not use email address or spaces. `client_id` | `string` | `True` | Client ID from your O365 application. `client_secret` | `string` | `True` | Client Secret from your O365 application. `alt_auth_method` | `boolean` | `False` | If False (default), authentication is not dependent on internet access to your HA instance. [See Authentication](./authentication.md)