Skip to content

Commit

Permalink
Add type checking to test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley van Lee committed Oct 4, 2024
1 parent adb8f0b commit 50d4881
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
with:
python-version: "3.8"
- run: pip install -r requirements-docs.txt
- run: mkdocs gh-deploy --force
- run: mkdocs gh-deploy --force
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
python-version: "3.8"
- name: Install Dependencies
run: pip install -r requirements-tests.txt
- name: Lint
- name: Ruff
run: ruff check scrapy_webarchive tests
- name: Mypy
run: mypy scrapy_webarchive

test:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"

[tool.mypy]
strict = false

0 comments on commit 50d4881

Please sign in to comment.