remove: disable mypy type checking
- Remove mypy from CI workflow - Remove mypy configuration from pyproject.toml - Remove mypy dependency from dev dependencies - Remove mypy session from noxfile.py - Keep only essential linting (ruff + isort) and testing (pytest) - All remaining checks still pass
This commit is contained in:
parent
09f5111eda
commit
3fea035c13
3 changed files with 14 additions and 30 deletions
32
.github/workflows/test.yml
vendored
32
.github/workflows/test.yml
vendored
|
|
@ -14,22 +14,22 @@ jobs:
|
|||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
python-version: ["3.10", "3.11", "3.12"]
|
||||
fail-fast: false
|
||||
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
cache-dependency-path: '**/pyproject.toml'
|
||||
|
||||
|
||||
# Cache Poetry dependencies
|
||||
- name: Cache Poetry dependencies
|
||||
uses: actions/cache@v4
|
||||
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
key: ${{ runner.os }}-poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-poetry-${{ matrix.python-version }}-
|
||||
|
||||
|
||||
# Cache nox environments
|
||||
- name: Cache nox environments
|
||||
uses: actions/cache@v4
|
||||
|
|
@ -47,29 +47,25 @@ jobs:
|
|||
key: ${{ runner.os }}-nox-${{ matrix.python-version }}-${{ hashFiles('**/noxfile.py') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nox-${{ matrix.python-version }}-
|
||||
|
||||
|
||||
- name: Install uv
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install uv
|
||||
uv --version
|
||||
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uvx poetry install
|
||||
|
||||
|
||||
- name: Lint with ruff
|
||||
run: |
|
||||
uvx nox -s lint
|
||||
|
||||
- name: Type check with mypy
|
||||
run: |
|
||||
uvx nox -s mypy
|
||||
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
uvx nox -s pytest
|
||||
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
|
||||
uses: codecov/codecov-action@v4
|
||||
|
|
@ -84,21 +80,21 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
|
||||
- name: Install uv
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install uv
|
||||
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uvx poetry install
|
||||
|
||||
|
||||
- name: Run security checks
|
||||
run: |
|
||||
uvx nox -s safety
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue