Skip to content

Commit

Permalink
bump mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jonapich committed Apr 4, 2024
1 parent 8db08e5 commit c572464
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 32 deletions.
4 changes: 2 additions & 2 deletions coveo_stew/offline_publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import re
from pathlib import Path
from tempfile import mkstemp
from typing import Optional, Pattern, Set
from typing import Optional, Pattern, Set, List

from coveo_styles.styles import ExitWithFailure
from coveo_systools.platforms import WINDOWS
Expand Down Expand Up @@ -110,7 +110,7 @@ def _store_dependencies_in_wheelhouse(self, project: Optional[PythonProject] = N
"""Store the dependency wheels in the wheelhouse."""
project = project or self.project

lines = []
lines: List[str] = []
for requirement in project.export().splitlines():
if match := LOCAL_REQUIREMENT_PATTERN.match(requirement):
dependency_name, dependency_location = match["library_name"].strip(), Path(
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.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ black = "24.3"
coveo-testing = "^2.0.0"
flake8 = "*"
isort = "*"
mypy = "0.950" # required for 3.10 support
mypy = "1.9.0" # required for 3.10 support
pytest = "*"
types-setuptools = "*"
types-toml = "*"
Expand Down
Empty file added test_coveo_stew/__init__.py
Empty file.

0 comments on commit c572464

Please sign in to comment.