Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
types: [ python ]
pass_filenames: false
language: system
entry: poetry run -- nox -s project:format
entry: poetry run -- nox -s format:fix
stages: [ pre-commit ]

- repo: local
Expand All @@ -18,7 +18,7 @@ repos:
types: [ python ]
pass_filenames: false
language: system
entry: poetry run -- nox -s format:fix
entry: poetry run -- nox -s lint:typing
stages: [ pre-push ]

- repo: local
Expand All @@ -28,7 +28,7 @@ repos:
types: [ python ]
pass_filenames: false
language: system
entry: poetry run -- nox -s lint:typing
entry: poetry run -- nox -s lint:code
stages: [ pre-push ]

- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
1 change: 1 addition & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ With that done, the test preparation gets very compact.

* #1: Added MIT license and security policy
* #3: Transformed project to comply with the standard layout of Exasol's Python projects by adding the Exasol Python Toolbox
* #12: Removed unused `Config` class from `noxconfig.py`

## Features

Expand Down
2 changes: 1 addition & 1 deletion exasol/tdbp/dialects/exasol/exasol_fingerprint_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _extract_fingerprint(self):
error_str = str(error)
print(f"Error message: {error_str}")
fingerprint_search = re.search(
"server fingerprint \[([A-F0-9]+)\]", error_str, re.MULTILINE
r"server fingerprint \[([A-F0-9]+)\]", error_str, re.MULTILINE
)
if fingerprint_search:
self._fingerprint = fingerprint_search.group(1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import override

from pyexasol import ExaConnection
from typing_extensions import override

from exasol.tdbp.database_object import DatabaseObject
from exasol.tdbp.database_object_listener import DatabaseObjectListener
Expand Down
2 changes: 1 addition & 1 deletion exasol/tdbp/schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing_extensions import override
from typing import override

from exasol.tdbp.database_object import DatabaseObject
from exasol.tdbp.database_object_listener import DatabaseObjectListener
Expand Down
3 changes: 1 addition & 2 deletions exasol/tdbp/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
from typing import (
TYPE_CHECKING,
Any,
override,
)

from typing_extensions import override

from exasol.tdbp.database_object import DatabaseObject

if TYPE_CHECKING:
Expand Down
2 changes: 1 addition & 1 deletion exasol/tdbp/version.py

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

17 changes: 0 additions & 17 deletions noxconfig.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
from __future__ import annotations

from collections.abc import Iterable
from pathlib import Path

from exasol.toolbox.config import BaseConfig


class Config(BaseConfig):
root: Path = Path(__file__).parent
doc: Path = Path(__file__).parent / "doc"
source: Path = Path("exasol/tdbp")
version_file: Path = Path(__file__).parent / "exasol" / "tdbp" / "version.py"
path_filters: Iterable[str] = (
"dist",
".eggs",
"venv",
".venv",
"build",
)
plugins: Iterable[object] = ()


PROJECT_CONFIG = BaseConfig(
project_name="tdbp",
root_path=Path(__file__).parent,
Expand Down
7 changes: 0 additions & 7 deletions poetry.lock

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

3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ unfixable = []
[[tool.mypy.overrides]]
module = [
"test.*",
"pyexasol.*,"
]
ignore_errors = true
ignore_missing_imports = true
Expand All @@ -96,5 +95,3 @@ projectKey = "com.exasol:test-db-builder-python"
host.url = "https://sonarcloud.io"
organization = "exasol"
exclusions = "exasol/test-db-builder-python/version.py"