Skip to content

Commit

Permalink
Merge branch 'master' of github.com:RogerSelwyn/O365-HomeAssistant
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed May 20, 2024
2 parents 49010c2 + dfa1cc2 commit 8492897
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -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 .
2 changes: 1 addition & 1 deletion docs/installation_and_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions requirements_release.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
PyGithub>=1.51
ruff==0.4.2

0 comments on commit 8492897

Please sign in to comment.