Skip to content

Commit

Permalink
add exasol-toolbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis-Mittenzwei committed Oct 18, 2024
1 parent aabd8a8 commit 6dbd767
Show file tree
Hide file tree
Showing 8 changed files with 10,825 additions and 1 deletion.
Binary file added .coverage
Binary file not shown.
6,697 changes: 6,697 additions & 0 deletions .lint.json

Large diffs are not rendered by default.

690 changes: 690 additions & 0 deletions .lint.txt

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions exasol_script_languages_container_ci_setup/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ATTENTION:
# This file is generated by exasol/toolbox/pre_commit_hooks/package_version.py when using:
# * either "poetry run nox -s fix"
# * or "poetry run version-check <path/version.py> --fix"
# Do not edit this file manually!
# If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`.
MAJOR = 1
MINOR = 5
PATCH = 0
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"
26 changes: 26 additions & 0 deletions noxconfig.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
from __future__ import annotations

from dataclasses import dataclass
from pathlib import Path
from typing import Iterable


@dataclass(frozen=True)
class Config:
root: Path = Path(__file__).parent
doc: Path = Path(__file__).parent / "doc"
version_file: Path = (
Path(__file__).parent
/ "exasol_script_languages_container_ci_setup"
/ "version.py"
)
path_filters: Iterable[str] = (
"dist",
".eggs",
"venv",
)

plugins = []


PROJECT_CONFIG = Config()
7 changes: 7 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import nox

# imports all nox task provided by the toolbox
from exasol.toolbox.nox.tasks import *

# default actions to be run if nothing is explicitly specified with the -s option
nox.options.sessions = ["fix"]
3,354 changes: 3,354 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

42 changes: 41 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,55 @@ requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"


[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
toml = ">=0.10.2"
pytest = "^7.1.1"
pytest-mock = "^3.7.0"
cfn-lint = "^0.75.1"
exasol-toolbox = "^0.15.0"

[tool.pytest.ini_options]
minversion = "6.0"

testpaths = [
"test"
]


[tool.coverage.run]
source = [
"exasol",
]

[tool.coverage.report]
fail_under = 15


[tool.black]
line-length = 88
verbose = false
include = "\\.pyi?$"


[tool.isort]
profile = "black"
force_grid_wrap = 2


[tool.pylint.master]
fail-under = 5.0
output-format = "colorized,json:.lint.json,text:.lint.txt"

[tool.pylint.format]
max-line-length = 88
max-module-lines = 800

[tool.mypy]
ignore_errors = true

[[tool.mypy.overrides]]
module = [
"tests.*",
"test.*",
]
ignore_errors = true

0 comments on commit 6dbd767

Please sign in to comment.