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