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
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/cd.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/check-release-tag.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/checks.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/dependency-update.yml

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

28 changes: 0 additions & 28 deletions .github/workflows/fast-tests-extension.yml

This file was deleted.

8 changes: 1 addition & 7 deletions .github/workflows/fast-tests.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/matrix.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/merge-gate.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/periodic-validation.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/pr-merge.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/report.yml

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

29 changes: 0 additions & 29 deletions .import_linter_config

This file was deleted.

15 changes: 7 additions & 8 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,20 @@ If you believe you have found a new security vulnerability in this repository, p

* Please do **not** report security vulnerabilities through public GitHub issues.

* Please create a draft security advisory on the Github page: the reporting form is under `> Security > Advisories`. The URL is https://github.com/exasol/python-toolbox/security/advisories/new.
* Please create a draft security advisory on the GitHub page: the reporting form is under `> Security > Advisories`. The URL is https://github.com/exasol/python-toolbox/security/advisories/new.

* If you prefer to email, please send your report to `infosec@exasol.com`.

## Guidelines
## Guidelines

* When reporting a vulnerability, please include as much information as possible, including the complete steps to reproduce the issue.
* When reporting a vulnerability, please include as much information as possible, including the complete steps to reproduce the issue.

* Avoid sending us executables.

* Feel free to include any script you wrote and used but avoid sending us scripts that download and run binaries.
* Feel free to include any script you wrote and used but avoid sending us scripts that download and run binaries.

* We will prioritise reports that show how the exploits work in realistic environments.
* We will prioritise reports that show how the exploits work in realistic environments.

* We prefer all communications to be in English.

* We do not offer financial rewards. We are happy to acknowledge your research publicly when possible.
* We prefer all communications to be in English.

* We do not offer financial rewards. We are happy to acknowledge your research publicly when possible.
4 changes: 4 additions & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased

## Summary

## Refactoring

* #934: Removed unused, experimental Nox session `lint:import`
1 change: 0 additions & 1 deletion doc/developer_guide/developer_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@

../design
plugins
modules/modules
7 changes: 0 additions & 7 deletions doc/developer_guide/modules/modules.rst

This file was deleted.

14 changes: 0 additions & 14 deletions doc/developer_guide/modules/nox_tasks.rst

This file was deleted.

36 changes: 0 additions & 36 deletions exasol/toolbox/nox/_lint.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

import argparse
import sys
from collections.abc import Iterable
from pathlib import Path
Expand Down Expand Up @@ -67,10 +66,6 @@ def _security_lint(session: Session, files: Iterable[str]) -> None:
)


def _import_lint(session: Session, path: Path) -> None:
session.run("lint-imports", "--config", path)


class Dependencies:
def __init__(self, illegal: dict[str, list[str]] | None):
self._illegal = illegal or {}
Expand Down Expand Up @@ -157,34 +152,3 @@ def dependency_check(session: Session) -> None:
f"Warning: `nox -s lint:dependencies` is deprecated and will be removed on "
f"{LINT_DEPENDENCIES_DEPRECATION_DATE}."
)


@nox.session(name="lint:import", python=False)
def import_lint(session: Session) -> None:
"""(experimental) Runs import linter on the project"""
parser = argparse.ArgumentParser(
usage="nox -s import-lint -- [options]",
description="Runs the import linter on the project",
)
parser.add_argument(
"-c",
"--config",
type=str,
help="path to the configuration file for the importlinter",
metavar="TEXT",
)

args: argparse.Namespace = parser.parse_args(args=session.posargs)
file: str = args.config
path: Path | None = None
if file is None:
path = getattr(
PROJECT_CONFIG, "import_linter_config", Path(".import_linter_config")
)
else:
path = Path(file)
if not path.exists():
session.error(
"Please make sure you have a configuration file for the importlinter"
)
_import_lint(session=session, path=path)
Loading