diff --git a/.github/workflows/code_rules.yml b/.github/workflows/code_rules.yml index f3f69aff..52a26604 100644 --- a/.github/workflows/code_rules.yml +++ b/.github/workflows/code_rules.yml @@ -2,6 +2,8 @@ name: Code Standards on: push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions) + paths: + - "**.py" pull_request: branches: - master diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e45157da..6bd877de 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,6 +14,8 @@ name: "CodeQL" on: push: branches: [dev] + paths: + - "**.py" pull_request: # The branches below must be a subset of the branches above branches: [dev] diff --git a/TODO.md b/TODO.md index 42ce6d1a..55ebcdde 100644 --- a/TODO.md +++ b/TODO.md @@ -1,18 +1,20 @@ # TODOs (A checklist of sorts) ## Code Features + - [ ] Add Testing Suite/Workflow the runs Home Assistant Core to test library. -- [ ] Clean up Model `repr` methods with disabling model field `repr`s. +- [X] Clean up Model `repr` methods with disabling model field `repr`s. ## Code Bugs + None yet? ## Maintenance -- [ ] Initialize project Milestones and Wiki. -- [ ] Add Workflow that issues labeled `bug` and `feature` into their respective sections in TODO.md. + - [ ] Fix workflows to only run when python paths are modified. ## Documentation + - [ ] Add runnable Code Examples. - [ ] Document project scripts. - [ ] Document branch naming scheme (i.e. `feature/`, `maintenance/`, `bug/`, `docs/`)