Skip to content

Commit 5a35f66

Browse files
committed
Reduce scope of pylint to that of package
1 parent e19abd6 commit 5a35f66

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

doc/changes/unreleased.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Unreleased
22

33
## ✨ Features
4-
* #451: Added nox task to execute pysonar & added Sonar to the CI
4+
* #451: Added nox task to execute pysonar & added Sonar to the CI
5+
6+
## ⚒️ Refactorings
7+
* #451: Reduced scope of nox tasks `lint:code` (pylint) and `lint:security` (bandit) to analyze only the package code

exasol/toolbox/nox/_lint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def report_illegal(illegal: dict[str, list[str]], console: rich.console.Console)
119119
@nox.session(name="lint:code", python=False)
120120
def lint(session: Session) -> None:
121121
"""Runs the static code analyzer on the project"""
122-
py_files = python_files(PROJECT_CONFIG.root)
122+
py_files = python_files(PROJECT_CONFIG.root / PROJECT_CONFIG.source)
123123
_pylint(session, py_files)
124124

125125

0 commit comments

Comments
 (0)