Skip to content

Commit b0e62ad

Browse files
authored
Merge pull request #10 from MathCouple/MathCouple/fix-ci-workflow-paths
fix(ci): correct workflow paths from scrapegraphai to toon
2 parents a6b4f70 + bd77a82 commit b0e62ad

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

.github/workflows/code-quality.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Code Quality Checks
33
on:
44
push:
55
paths:
6-
- 'scrapegraphai/**'
7-
- '.github/workflows/pylint.yml'
6+
- 'toon/**'
7+
- '.github/workflows/code-quality.yml'
88

99
jobs:
1010
quality:
@@ -19,13 +19,13 @@ jobs:
1919
run: uv sync --frozen
2020

2121
- name: Run Ruff
22-
run: uv run ruff check scrapegraphai
22+
run: uv run ruff check toon
2323

2424
- name: Run Black
25-
run: uv run black --check scrapegraphai
25+
run: uv run black --check toon
2626

2727
- name: Run isort
28-
run: uv run isort --check-only scrapegraphai
28+
run: uv run isort --check-only toon
2929

3030
- name: Analysing the code with pylint
3131
run: uv run poe pylint-ci

pyproject.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ dependencies = [
3434
dev = [
3535
"pytest>=7.0.0",
3636
"pytest-cov>=4.0.0",
37+
"ruff>=0.8.0",
38+
"black>=24.0.0",
39+
"isort>=5.13.0",
40+
"pylint>=3.3.0",
41+
"poethepoet>=0.29.0",
3742
]
3843
pydantic = [
3944
"pydantic>=1.10.0",
@@ -60,11 +65,9 @@ include = [
6065
"LICENSE",
6166
]
6267

63-
[tool.uv]
64-
dev-dependencies = [
65-
"pytest>=7.0.0",
66-
"pytest-cov>=4.0.0",
67-
]
68+
[tool.poe.tasks]
69+
pylint-ci = "pylint toon --output-format=text"
70+
pylint-score-ci = "pylint toon --score=yes"
6871

6972
[tool.pytest.ini_options]
7073
testpaths = ["tests"]

0 commit comments

Comments
 (0)