Skip to content

Commit

Permalink
updating type checker (mypy)
Browse files Browse the repository at this point in the history
  • Loading branch information
grmpflh27 committed Apr 16, 2024
1 parent 097c37f commit acf3b1e
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 35 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Checkout git repository 🕝
uses: actions/checkout@v4

- name: Set up python3.11 🐍
- name: Set up python3.12 🐍
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Install poetry 🦄
uses: Gr1N/setup-poetry@v9
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
run: make test

- name: Send Coverage Report 📊
if: matrix.python-version == 3.11 && matrix.os == 'ubuntu-latest'
if: matrix.python-version == 3.12 && matrix.os == 'ubuntu-latest'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Expand Up @@ -44,8 +44,7 @@ test:
poetry run pytest --cov capella_console_client --cov-report=html -sv

types:
poetry run mypy --install-types --non-interactive capella_console_client --tb --verbose

poetry run mypy --install-types --non-interactive capella_console_client --tb
docs:
poetry run make -C docs html

Expand Down
63 changes: 34 additions & 29 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Expand Up @@ -56,7 +56,7 @@ pytest-httpx = "^0.21.0"
pytest-html = "^3.1.1"
coveralls = "^3.3.1"
black = "^22.8.0"
mypy = "^0.971"
mypy = "^1.9.0"
rope = "^1.3.0"

[tool.black]
Expand All @@ -71,3 +71,4 @@ build-backend = "poetry.core.masonry.api"
[tool.mypy]
warn_unused_configs = true
ignore_missing_imports = true
no_implicit_optional = false

0 comments on commit acf3b1e

Please sign in to comment.