File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Code Quality Checks
33on :
44 push :
55 paths :
6- - ' scrapegraphai /**'
7- - ' .github/workflows/pylint .yml'
6+ - ' toon /**'
7+ - ' .github/workflows/code-quality .yml'
88
99jobs :
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
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ dependencies = [
3434dev = [
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]
3843pydantic = [
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 ]
7073testpaths = [" tests" ]
You can’t perform that action at this time.
0 commit comments