diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 60b83af48..c34cda7ae 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -7,3 +7,7 @@ ## 🔧 Changed * Updated gh-pages workflow to use the new multiversion nox task target + +## 🐞 Fixed + +* Removed the `test` file filter from `lint:security` diff --git a/exasol/toolbox/nox/_lint.py b/exasol/toolbox/nox/_lint.py index d189cccb9..54d918ca6 100644 --- a/exasol/toolbox/nox/_lint.py +++ b/exasol/toolbox/nox/_lint.py @@ -148,7 +148,7 @@ def type_check(session: Session) -> None: def security_lint(session: Session) -> None: """Runs the security linter on the project""" py_files = [f"{file}" for file in python_files(PROJECT_CONFIG.root)] - _security_lint(session, list(filter(lambda file: "test" not in file, py_files))) + _security_lint(session, py_files) @nox.session(name="lint:dependencies", python=False) diff --git a/exasol/toolbox/nox/_test.py b/exasol/toolbox/nox/_test.py index aad1b9209..42aa65b74 100644 --- a/exasol/toolbox/nox/_test.py +++ b/exasol/toolbox/nox/_test.py @@ -43,14 +43,14 @@ def _integration_tests( ) -> None: pm = NoxTasks.plugin_manager(config) - # run pre intergration test plugins + # run pre integration test plugins pm.hook.pre_integration_tests_hook(session=session, config=config, context={}) # run command = _test_command(config.root / "test" / "integration", config, context) session.run(*command) - # run post intergration test plugins + # run post integration test plugins pm.hook.post_integration_tests_hook(session=session, config=config, context={})