Skip to content

Commit 505c12e

Browse files
chore(deps): lock file maintenance (#289)
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/looztra/yamkix). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christophe Furmaniak <[email protected]>
1 parent c205dbd commit 505c12e

File tree

4 files changed

+689
-562
lines changed

4 files changed

+689
-562
lines changed

.pylintrc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ persistent=yes
3636
# Specify a configuration file.
3737
#rcfile=
3838

39-
# When enabled, pylint would attempt to guess common misconfiguration and emit
40-
# user-friendly hints instead of false-positive error messages.
41-
suggestion-mode=yes
42-
4339
# Allow loading of arbitrary C extensions. Extensions are imported into the
4440
# active Python interpreter and may run arbitrary code.
4541
unsafe-load-any-extension=no

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,9 @@ dirty = "{base_version}+dirty{build_date:%Y%m%d}"
9393

9494
# Format used when there are both commits and uncommitted changes:
9595
distance-dirty = "{next_version}.dev{distance}+{vcs}{rev}.d{build_date:%Y%m%d}"
96+
97+
[tool.ty.src]
98+
include = [
99+
"src",
100+
"tests",
101+
]

tests/test_config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ def test_create_yamkix_config_io_logic_with_two_arguments(self, shared_datadir:
737737

738738
def test_create_yamkix_config_io_logic_with_empty_files(self) -> None:
739739
"""Test input/output file logic."""
740-
with pytest.raises(ValueError, match="The 'files' argument cannot be an empty list."):
740+
with pytest.raises(ValueError, match=r"The 'files' argument cannot be an empty list."):
741741
create_yamkix_config_from_typer_args(
742742
input_file=None,
743743
output_file=None,
@@ -796,7 +796,7 @@ def test_print_yamkix_config_calls_stderr_console(self, mocker: MockerFixture) -
796796

797797
# THEN
798798
mock_console.print.assert_called_once()
799-
args, kwargs = mock_console.print.call_args
799+
args, _ = mock_console.print.call_args
800800

801801
# Verify the message contains expected content
802802
message = args[0]
@@ -830,7 +830,7 @@ def test_warning_is_raised(self, mocker: MockerFixture) -> None:
830830

831831
# THEN
832832
mock_console.print.assert_called_once()
833-
args, kwargs = mock_console.print.call_args
833+
args, _ = mock_console.print.call_args
834834
assert (
835835
"WARNING: Option '--enforce-double-quotes' is useless unless '--no-quotes-preserved' is also set."
836836
in args[0]
@@ -896,7 +896,7 @@ def test_warning_is_raised(
896896

897897
# THEN
898898
mock_console.print.assert_called_once()
899-
args, kwargs = mock_console.print.call_args
899+
args, _ = mock_console.print.call_args
900900
assert "WARNING" in args[0]
901901
assert "input" in args[0]
902902
assert "output" in args[0]

0 commit comments

Comments
 (0)