mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-06-27 08:54:27 -07:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user