Fix linting

This commit is contained in:
Sleepy Monax 2023-11-21 13:30:30 +01:00
parent 5b703d779a
commit 27fcacbdd3
3 changed files with 9 additions and 17 deletions

View file

@ -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

View file

@ -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,
)

View file

@ -1,4 +1,3 @@
requests ~= 2.31.0
graphviz ~= 0.20.1
dataclasses-json ~= 0.6.2
docker ~= 6.1.3