Skip to content

Commit 922385f

Browse files
authored
Remove test directory filter from lint:security target (#285)
1 parent 21a7b2a commit 922385f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

doc/changes/unreleased.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@
77
## 🔧 Changed
88

99
* Updated gh-pages workflow to use the new multiversion nox task target
10+
11+
## 🐞 Fixed
12+
13+
* Removed the `test` file filter from `lint:security`

exasol/toolbox/nox/_lint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def type_check(session: Session) -> None:
148148
def security_lint(session: Session) -> None:
149149
"""Runs the security linter on the project"""
150150
py_files = [f"{file}" for file in python_files(PROJECT_CONFIG.root)]
151-
_security_lint(session, list(filter(lambda file: "test" not in file, py_files)))
151+
_security_lint(session, py_files)
152152

153153

154154
@nox.session(name="lint:dependencies", python=False)

exasol/toolbox/nox/_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ def _integration_tests(
4343
) -> None:
4444
pm = NoxTasks.plugin_manager(config)
4545

46-
# run pre intergration test plugins
46+
# run pre integration test plugins
4747
pm.hook.pre_integration_tests_hook(session=session, config=config, context={})
4848

4949
# run
5050
command = _test_command(config.root / "test" / "integration", config, context)
5151
session.run(*command)
5252

53-
# run post intergration test plugins
53+
# run post integration test plugins
5454
pm.hook.post_integration_tests_hook(session=session, config=config, context={})
5555

5656

0 commit comments

Comments
 (0)