From dce3cba3ae9c0b345af74c37d59d1fd362a3c8ed Mon Sep 17 00:00:00 2001 From: kedhammar Date: Mon, 21 Oct 2024 14:57:42 +0200 Subject: [PATCH] ignore mypy for now, can't be bothered --- .github/workflows/lint-code.yml | 21 --------------------- pyproject.toml | 5 ----- requirements_dev.txt | 1 - 3 files changed, 27 deletions(-) diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml index 2b6240964..91668a4f9 100644 --- a/.github/workflows/lint-code.yml +++ b/.github/workflows/lint-code.yml @@ -37,27 +37,6 @@ jobs: - name: ruff --> Check code formatting run: ruff format --check . - # Use mypy for static type checking - mypy-check: - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install mypy - # Start by installing type stubs - - name: mypy --> Install stubs - run: echo -e "y" | mypy --install-types . || exit 0 - - name: mypy --> Static type checking - # Configured in pyprojet.toml - run: mypy . - # Use pipreqs to check for missing dependencies pipreqs-check: runs-on: ubuntu-latest diff --git a/pyproject.toml b/pyproject.toml index 88d697af2..4f14b00ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,8 +19,3 @@ ignore = [ "E722", # Do not use bare 'except' "E741", # Ambiguous variable name ] - -[tool.mypy] -ignore_missing_imports = true -follow_imports = 'skip' -exclude = 'build' \ No newline at end of file diff --git a/requirements_dev.txt b/requirements_dev.txt index 710744234..8a7fce3ae 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,5 +1,4 @@ ipdb -mypy pipreqs ruff selenium