Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@ on:

jobs:
codestyle:
name: ruff codestyle check/linting
name: codestyle check/linting (${{ matrix.tool }})
runs-on: ubuntu-latest

continue-on-error: true
strategy:
fail-fast: false
matrix:
tool: [ruff, ty]

steps:
- name: checkout code
uses: actions/checkout@v4
Expand All @@ -24,14 +30,25 @@ jobs:
python-version: 3.11

- name: install ruff
run: pip install ruff
if: matrix.tool == 'ruff'
run: pip install ruff==0.14.2

- name: run ruff linter src directory
if: matrix.tool == 'ruff'
run: ruff check hololinked

- name: run ruff linter tests directory
if: matrix.tool == 'ruff'
run: ruff check tests/*.py tests/things/*.py tests/helper-scripts/*.py

- name: install ty
if: matrix.tool == 'ty'
run: pip install ty==0.0.24

- name: run ty type checker
if: matrix.tool == 'ty'
run: ty check hololinked

scan:
name: security scan (${{ matrix.tool }})
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions hololinked/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""beginner friendly data acquisition and IoT in python."""

__version__ = "0.3.12"

from .config import global_config # noqa
Expand Down
2 changes: 2 additions & 0 deletions hololinked/client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""expose client objects per protocol using the Thing Description."""

from ..config import global_config # noqa: F401
from .factory import ClientFactory as ClientFactory
from .proxy import ObjectProxy as ObjectProxy
Expand Down
Loading
Loading