diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c75c88e92b..3ce498b750 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -89,7 +89,7 @@ jobs: uses: ./.github/setup_python - name: Run linter - run: pylint evap -j 0 + run: pylint evap tools -j 0 formatter: diff --git a/evap/evaluation/management/commands/lint.py b/evap/evaluation/management/commands/lint.py index b7c4427abb..767637d61f 100644 --- a/evap/evaluation/management/commands/lint.py +++ b/evap/evaluation/management/commands/lint.py @@ -9,4 +9,4 @@ class Command(BaseCommand): requires_migrations_checks = False def handle(self, *args, **options): - subprocess.run(["pylint", "evap"], check=False) # nosec + subprocess.run(["pylint", "evap", "tools"], check=False) # nosec diff --git a/tools/enrollment_preprocessor.py b/tools/enrollment_preprocessor.py index 3fabddec48..84993009f5 100755 --- a/tools/enrollment_preprocessor.py +++ b/tools/enrollment_preprocessor.py @@ -4,7 +4,7 @@ from argparse import ArgumentParser from dataclasses import dataclass from io import BytesIO -from typing import Iterator, TextIO +from typing import TextIO from openpyxl import load_workbook from openpyxl.cell import Cell