diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c719b31..9867ff8 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -22,19 +22,19 @@ jobs: - name: Install dependencies run: | - sudo apt install -y ruff python -m pip install --upgrade pip python -m pip install -r requirements.txt - python -m pip install mypy pytest + python -m pip install mypy pytest ruff - - name: Run MyPy + - name: Type Checking run: | python -m mypy --install-types --non-interactive . - - name: Run PyTest + - name: Linting + run: | + ruff check cutekit + + - name: Unit Testing run: | python -m pytest - - name: Run Ruff - run: | - ruff check cutekit diff --git a/cutekit/__init__.py b/cutekit/__init__.py index 41a815c..1c9eabc 100644 --- a/cutekit/__init__.py +++ b/cutekit/__init__.py @@ -3,19 +3,12 @@ import os import logging from . import ( - builder, + builder, # noqa: F401 this is imported for side effects cli, - compat, const, - graph, - jexpr, - mixins, + graph, # noqa: F401 this is imported for side effects model, - ninja, plugins, - rules, - shell, - utils, vt100, ) diff --git a/requirements.txt b/requirements.txt index 892a2bf..11d0245 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ requests ~= 2.31.0 graphviz ~= 0.20.1 dataclasses-json ~= 0.6.2 -docker ~= 6.1.3