Skip to content

Commit

Permalink
update mypy and remove mypy from linting all (#21655)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilaner committed Oct 18, 2022
1 parent d9bf744 commit 9463a45
Show file tree
Hide file tree
Showing 6 changed files with 561 additions and 495 deletions.
2 changes: 1 addition & 1 deletion .gitlab/ci/.gitlab-ci.yml
@@ -1,6 +1,6 @@

default:
image: docker-io.art.code.pan.run/devdemisto/gitlab-content-ci:1.0.0.33772
image: docker-io.art.code.pan.run/devdemisto/gitlab-content-ci:1.0.0.35364
artifacts:
expire_in: 30 days
paths:
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/ci/slack-notify.yml
@@ -1,6 +1,6 @@

default:
image: docker-io.art.code.pan.run/devdemisto/gitlab-content-ci:1.0.0.33772
image: docker-io.art.code.pan.run/devdemisto/gitlab-content-ci:1.0.0.35364
artifacts:
expire_in: 30 days
paths:
Expand Down
2 changes: 1 addition & 1 deletion .hooks/bootstrap
Expand Up @@ -55,7 +55,7 @@ poetry check
echo "Installing dependencies..."
if [ -n "$CI" ]; then
echo "Detected CI env. Running extra requiements"
poetry install -E build
poetry install --with ci
else
echo "Detected local env."
poetry install
Expand Down
2 changes: 1 addition & 1 deletion Tests/scripts/collect_tests/path_manager.py
Expand Up @@ -39,7 +39,7 @@ def __init__(self, content_path: Path):

content_root_files = set(filter(lambda f: f.is_file(), self.content_path.iterdir()))
non_content_files = self._glob(
filter(lambda p: p.is_dir() and p.name != 'Packs', self.content_path.iterdir())) # type: ignore[union-attr]
filter(lambda p: p.is_dir() and p.name != 'Packs', self.content_path.iterdir())) # type: ignore[arg-type, union-attr]
non_content = non_content_files | content_root_files

infrastructure_test_data = self._glob(('Tests/scripts/infrastructure_tests/tests_data',))
Expand Down

0 comments on commit 9463a45

Please sign in to comment.