build(deps-dev): Bump pylint from 2.13.9 to 2.14.1

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.13.9 to 2.14.1.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.9...v2.14.1)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
This commit is contained in:
dependabot[bot]
2022-06-13 22:15:27 +05:45
committed by skshetry
parent 8e6ea87b76
commit bdea9847b5
5 changed files with 12 additions and 19 deletions
+1 -3
View File
@@ -16,9 +16,7 @@ class CmdRepro(CmdBase):
if len(stages) == 0:
ui.write(CmdDataStatus.UP_TO_DATE_MSG)
else:
ui.write(
"Use `dvc push` to send your updates to " "remote storage."
)
ui.write("Use `dvc push` to send your updates to remote storage.")
if self.args.metrics:
from dvc.compare import show_metrics
+1 -1
View File
@@ -60,7 +60,7 @@ class PathInfo(pathlib.PurePath, _BasePath):
@property
def fspath(self):
return self.__fspath__()
return os.fspath(self)
url = fspath
+2 -2
View File
@@ -61,8 +61,8 @@ load-plugins = ["pylint_pytest", "pylint_plugin_disable"]
[tool.pylint.message_control]
disable = [
"format", "refactoring", "spelling", "design", "no-self-use",
"invalid-name", "misplaced-comparison-constant", "duplicate-code", "fixme",
"format", "refactoring", "spelling", "design",
"invalid-name", "duplicate-code", "fixme",
"unused-wildcard-import", "cyclic-import", "wrong-import-order",
"wrong-import-position", "ungrouped-imports", "multiple-imports",
"logging-format-interpolation", "logging-fstring-interpolation",
+1 -1
View File
@@ -131,7 +131,7 @@ tests =
pytest-timeout==2.1.0
filelock==3.7.1
# pylint requirements
pylint==2.13.9
pylint==2.14.1
# we use this to suppress pytest-related false positives in our tests.
pylint-pytest==1.1.2
# we use this to suppress some messages in tests, eg: foo/bar naming,
+7 -12
View File
@@ -32,8 +32,8 @@ def test_init_simple(tmp_dir, scm, dvc, capsys):
assert (
"Creating train stage in dvc.yaml\n\n"
"Ensure your experiment command creates metrics.json, plots and models"
'.\nYou can now run your experiment using "dvc exp run".'
) in out
'.\nYou can now run your experiment using "dvc exp run".' in out
)
assert (tmp_dir / "dvc.yaml").parse() == {
"stages": {
"train": {
@@ -209,12 +209,12 @@ def test_init_interactive_params_validation(tmp_dir, dvc, capsys):
"Path to a parameters file [params.yaml, n to omit]: "
"'data' is a directory. "
"Please retry with an existing parameters file.\n"
"Path to a parameters file [params.yaml, n to omit]:"
) in err
"Path to a parameters file [params.yaml, n to omit]:" in err
)
def test_init_with_no_defaults_interactive(tmp_dir, dvc):
inp = io.StringIO("script.py\n" "data\n" "n\n" "model\n" "metric\n" "n\n")
inp = io.StringIO("script.py\ndata\nn\nmodel\nmetric\nn\n")
init(
dvc,
defaults={},
@@ -305,18 +305,13 @@ def test_init_default(tmp_dir, scm, dvc, interactive, overrides, inp, capsys):
True,
{},
io.StringIO(
"python script.py\n"
"script.py\n"
"data\n"
"params.yaml\n"
"models\n"
"y"
"python script.py\nscript.py\ndata\nparams.yaml\nmodels\ny"
),
),
(
True,
{"cmd": "python script.py"},
io.StringIO("script.py\n" "data\n" "params.yaml\n" "models\n" "y"),
io.StringIO("script.py\ndata\nparams.yaml\nmodels\ny"),
),
(
True,