Skip to content

Commit

Permalink
mypy #19
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesturk committed Mar 22, 2023
1 parent 9b5e3b4 commit 84226db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- name: install dependencies
run: poetry install

# - name: lint with mypy
# run: poetry run mypy src
- name: lint with ruff
run: poetry run ruff src tests
- name: lint with mypy
run: poetry run mypy src
- name: pytest
run: poetry run pytest
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ repos:
rev: 22.10.0
hooks:
- id: black
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: 'v1.1.1'
# args: [src]
# hooks:
# - id: mypy
Empty file added src/scrapeghost/py.typed
Empty file.

0 comments on commit 84226db

Please sign in to comment.