leave BLE scanning timeout context manager with return instead of break #452
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Codespell | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: Log level | |
required: true | |
default: warning | |
type: choice | |
options: | |
- info | |
- warning | |
- debug | |
tags: | |
description: Test scenario tags | |
required: false | |
type: boolean | |
environment: | |
description: Environment to run tests against | |
type: environment | |
required: true | |
jobs: | |
codespell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: pip | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r src/requirements-dev.txt | |
- uses: codespell-project/actions-codespell@v2 | |
with: | |
path: src | |
check_filenames: false | |
check_hidden: false | |
skip: ./.git,src/*.ts,src/coverage,src/build,src/dist*,src/htmlcov,src/*.spec,src/*.toml | |
ignore_words_list: ser,alog,nd,iterm,dout,te,commandi,dout,exitt,currenty,exaust,controle,coment,controle,outweight,everytime,sade,weightIn,weightin |