Skip to content

Commit 63bbc6e

Browse files
dependabot[bot]Konstantin
andauthored
build(deps): bump pylint from 3.3.9 to 4.0.0 (#189)
* build(deps): bump pylint from 3.3.9 to 4.0.0 Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.3.9 to 4.0.0. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v3.3.9...v4.0.0) --- updated-dependencies: - dependency-name: pylint dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * fix naming --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Konstantin <[email protected]>
1 parent ba40d6c commit 63bbc6e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ formatting = [
4040
"isort==7.0.0"
4141
]
4242
linting = [
43-
"pylint==3.3.9"
43+
"pylint==4.0.0"
4444
]
4545
cli = [
4646
"typer" # if you install fundamend[cli], the cli commands are available via typer

unittests/test_cli.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44

55
import pytest
66

7-
_SKIP_TESTS = False
7+
_should_skip_typer_based_tests = False
88
try:
99
from typer.testing import CliRunner
1010

1111
runner = CliRunner()
1212
from fundamend.__main__ import app
1313
except ImportError:
14-
_SKIP_TESTS = True
14+
_should_skip_typer_based_tests = True
1515

1616

1717
@pytest.fixture(scope="function")
1818
def example_files_lesefassung(tmp_path: Path) -> Iterator[Path]:
19-
if _SKIP_TESTS:
19+
if _should_skip_typer_based_tests:
2020
pytest.skip("Seems like typer is not installed")
2121
copied_files_path = tmp_path / "example_files"
2222
copied_files_path.mkdir(parents=True, exist_ok=True)
@@ -29,7 +29,7 @@ def example_files_lesefassung(tmp_path: Path) -> Iterator[Path]:
2929

3030
@pytest.fixture(scope="function")
3131
def example_files_konsulationsfassung_without_uebertragungsdatei(tmp_path: Path) -> Iterator[Path]:
32-
if _SKIP_TESTS:
32+
if _should_skip_typer_based_tests:
3333
pytest.skip("Seems like typer is not installed")
3434
copied_files_path = tmp_path / "example_files"
3535
copied_files_path.mkdir(parents=True, exist_ok=True)
@@ -43,7 +43,7 @@ def example_files_konsulationsfassung_without_uebertragungsdatei(tmp_path: Path)
4343

4444
@pytest.fixture(scope="function")
4545
def example_files_fehlerkorrektur(tmp_path: Path) -> Iterator[Path]:
46-
if _SKIP_TESTS:
46+
if _should_skip_typer_based_tests:
4747
pytest.skip("Seems like typer is not installed")
4848
copied_files_path = tmp_path / "example_files"
4949
copied_files_path.mkdir(parents=True, exist_ok=True)
@@ -55,7 +55,7 @@ def example_files_fehlerkorrektur(tmp_path: Path) -> Iterator[Path]:
5555

5656

5757
def test_cli_single_file_mig(example_files_lesefassung: Path) -> None:
58-
if _SKIP_TESTS:
58+
if _should_skip_typer_based_tests:
5959
pytest.skip("Seems like typer is not installed")
6060
mig_path = example_files_lesefassung / "UTILTS_MIG_1.1c_Lesefassung_2023_12_12.xml"
6161

@@ -66,7 +66,7 @@ def test_cli_single_file_mig(example_files_lesefassung: Path) -> None:
6666

6767

6868
def test_cli_single_file_ahb(example_files_konsulationsfassung_without_uebertragungsdatei: Path) -> None:
69-
if _SKIP_TESTS:
69+
if _should_skip_typer_based_tests:
7070
pytest.skip("Seems like typer is not installed")
7171
ahb_path = (
7272
example_files_konsulationsfassung_without_uebertragungsdatei
@@ -80,7 +80,7 @@ def test_cli_single_file_ahb(example_files_konsulationsfassung_without_uebertrag
8080

8181

8282
def test_cli_directory(example_files_lesefassung: Path) -> None:
83-
if _SKIP_TESTS:
83+
if _should_skip_typer_based_tests:
8484
pytest.skip("Seems like typer is not installed")
8585
mig_path = example_files_lesefassung / "UTILTS_MIG_1.1c_Lesefassung_2023_12_12.xml"
8686
ahb_path = example_files_lesefassung / "UTILTS_AHB_1.1c_Lesefassung_2023_12_12_ZPbXedn.xml"
@@ -94,7 +94,7 @@ def test_cli_directory(example_files_lesefassung: Path) -> None:
9494

9595

9696
def test_cli_directory_with_sanitize_compressed_splitted(example_files_fehlerkorrektur: Path, tmp_path: Path) -> None:
97-
if _SKIP_TESTS:
97+
if _should_skip_typer_based_tests:
9898
pytest.skip("Seems like typer is not installed")
9999
# mig_path = example_files_lesefassung / "UTILTS_MIG_1.1c_Lesefassung_2023_12_12.xml"
100100
# ahb_path = example_files_lesefassung / "UTILTS_AHB_1.1c_Lesefassung_2023_12_12_ZPbXedn.xml"

0 commit comments

Comments
 (0)