-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added exasol-toolbox
- Loading branch information
Showing
112 changed files
with
5,405 additions
and
2,538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Checks | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
|
||
lint-job: | ||
name: Linting and Type checks (Python-${{ matrix.python-version }}) | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.10", "3.11", "3.12"] | ||
|
||
steps: | ||
- name: SCM Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/python-environment@0.14.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Run Tests | ||
run: poetry run nox -s lint | ||
|
||
- name: Run type-check | ||
run: poetry run nox -s type-check | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ".lint-python-${{ matrix.python-version }}.txt" | ||
path: .lint.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,4 +141,7 @@ dmypy.json | |
.build_output/ | ||
|
||
# Emacs | ||
TAGS | ||
TAGS | ||
|
||
.lint.json | ||
.lint.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
default_stages: [ commit ] | ||
repos: | ||
|
||
- repo: local | ||
hooks: | ||
- id: code-format | ||
name: code-format | ||
types: [ python ] | ||
pass_filenames: false | ||
language: system | ||
entry: poetry run nox -s fix | ||
|
||
- repo: local | ||
hooks: | ||
- id: type-check | ||
name: type-check | ||
types: [ python ] | ||
pass_filenames: false | ||
language: system | ||
entry: poetry run nox -s type-check | ||
|
||
- repo: local | ||
hooks: | ||
- id: lint | ||
name: lint | ||
types: [ python ] | ||
pass_filenames: false | ||
language: system | ||
entry: poetry run nox -s lint | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
exasol_script_languages_container_tool/cli/commands/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
from .build import build | ||
from .build_test_container import build_test_container | ||
from .clean import clean_all_images, clean_flavor_images | ||
from .export import export | ||
from .generate_language_activation import generate_language_activation | ||
from .install_starter_scripts import install_starter_scripts | ||
from .push import push | ||
from .push_test_container import push_test_container | ||
from .run_db_tests import run_db_test | ||
from .save import save | ||
from .upload import upload | ||
from .security_scan import security_scan | ||
from .install_starter_scripts import install_starter_scripts | ||
from .build_test_container import build_test_container | ||
from .push_test_container import push_test_container | ||
from .upload import upload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.