Skip to content

Commit

Permalink
CI running mypy and ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
dunossauro committed Oct 14, 2023
1 parent bfef5ae commit cc32ca6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ jobs:
python-version: '3.11.1'

- name: Install poetry
run: pipx install poetry
run: pipx install --python python3.11 poetry

- name: Install dependencies
run: poetry install

- name: Run tests
run: poetry run task test --cov-report=xml
- name: Check ruff
run: poetry run ruff .

- name: Mypy check
run: poetry run mypy .
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "videomaker-helper"
version = "0.1.0"
version = "0.2.2"
description = "Simples tools to help video makers"
authors = ["dunossauro <[email protected]>"]
readme = "README.md"
Expand Down Expand Up @@ -64,6 +64,7 @@ filterwarnings = 'ignore'

[tool.ruff]
ignore = ['E501']
select = ['E', 'F', 'W', 'C', 'I', 'N']

[tool.taskipy.tasks]
format = 'blue . && isort .'
Expand All @@ -88,4 +89,4 @@ priority = "primary"
[[tool.poetry.source]]
name = "pytorch"
priority = "supplemental"
url = "https://download.pytorch.org/whl/cpu"
url = "https://download.pytorch.org/whl/gpu"

0 comments on commit cc32ca6

Please sign in to comment.