Skip to content

Commit

Permalink
fixing linting and type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed Mar 27, 2024
1 parent 764891d commit adbd640
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# pylint: disable=too-many-arguments
# pylint: disable-msg=too-many-locals
# pylint: disable=missing-module-docstring
# pylint: disable=missing-class-docstring
# pylint: disable=missing-function-docstring
# pylint: disable=line-too-long
from enum import Enum
from textwrap import dedent
from typing import List, Optional, Dict
from pathlib import Path, PurePosixPath
import logging
import tempfile
import requests # type: ignore
import ssl
import requests # type: ignore
import pyexasol # type: ignore
from exasol_bucketfs_utils_python.bucketfs_location import BucketFSLocation # type: ignore
from exasol_bucketfs_utils_python.bucket_config import BucketConfig, BucketFSConfig # type: ignore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# pylint: disable=too-many-arguments
# pylint: disable-msg=too-many-locals
# pylint: disable=missing-module-docstring
# pylint: disable=missing-class-docstring
# pylint: disable=missing-function-docstring
# pylint: disable=line-too-long
from typing import Optional, Any
import os
import re
import click
from enum import Enum
from pathlib import Path
import click
from exasol.python_extension_common.deployment.language_container_deployer import LanguageContainerDeployer

DB_PASSWORD_ENVIRONMENT_VARIABLE = "DB_PASSWORD"
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ max-module-lines = 800

[[tool.mypy.overrides]]
module = [
"exasol.toolbox.nox.tasks",
"test.unit.*",
"test.integration.*",
]
ignore_errors = true
ignore_missing_imports = true
4 changes: 4 additions & 0 deletions test/unit/deployment/test_language_container_deployer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# pylint: disable=redefined-outer-name
# pylint: disable=missing-module-docstring
# pylint: disable=missing-class-docstring
# pylint: disable=missing-function-docstring
# pylint: disable=line-too-long
from pathlib import Path, PurePosixPath
from unittest.mock import create_autospec, MagicMock, patch

Expand Down
4 changes: 4 additions & 0 deletions test/unit/deployment/test_language_container_deployer_cli.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# pylint: disable=missing-module-docstring
# pylint: disable=missing-class-docstring
# pylint: disable=missing-function-docstring
# pylint: disable=line-too-long
import click
from exasol.python_extension_common.deployment.language_container_deployer_cli import (
_ParameterFormatters, CustomizableParameters)
Expand Down

0 comments on commit adbd640

Please sign in to comment.