Fix linting
This commit is contained in:
parent
5b703d779a
commit
27fcacbdd3
14
.github/workflows/checks.yml
vendored
14
.github/workflows/checks.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
requests ~= 2.31.0
|
||||
graphviz ~= 0.20.1
|
||||
dataclasses-json ~= 0.6.2
|
||||
docker ~= 6.1.3
|
||||
|
|
Loading…
Reference in a new issue