-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ad84bf
commit f29db69
Showing
5 changed files
with
1,187 additions
and
206 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,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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from __future__ import annotations | ||
|
||
from dataclasses import dataclass | ||
from pathlib import Path | ||
from typing import Iterable | ||
|
||
from nox import Session | ||
|
||
|
||
@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" / "version.py" | ||
) | ||
path_filters: Iterable[str] = ("dist", ".eggs", "venv", "resources") | ||
|
||
|
||
PROJECT_CONFIG = Config() |
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,7 @@ | ||
import nox | ||
|
||
# imports all nox task provided by the toolbox | ||
from exasol.toolbox.nox.tasks import * # type: ignore | ||
|
||
# default actions to be run if nothing is explicitly specified with the -s option | ||
nox.options.sessions = ["fix"] |
Oops, something went wrong.