refactor: add optional dev dependencies and mypy configuration

- Add optional [dev] dependency group with mypy, ruff, pytest, and type stubs
- Include types-requests, types-beautifulsoup4, and types-openpyxl
- Add mypy config to exclude submodule directories
- Update GitHub workflow to install with optional dev dependencies
- Remove --ignore-missing-imports flag from mypy for stricter type checking
This commit is contained in:
Justin Bollinger
2026-02-06 09:34:38 -05:00
parent 16f92a0f71
commit cabefe5b26
3 changed files with 25 additions and 4 deletions
+2 -3
View File
@@ -25,14 +25,13 @@ jobs:
- name: Install project dependencies
run: |
uv venv .venv
uv pip install --python .venv/bin/python pytest pytest-cov ruff mypy
uv pip install --python .venv/bin/python .
uv pip install --python .venv/bin/python ".[dev]"
- name: Run ruff
run: .venv/bin/ruff check hate_crack
- name: Run mypy
run: .venv/bin/mypy --ignore-missing-imports hate_crack
run: .venv/bin/mypy hate_crack
- name: Run tests
env: