Dependabot/pip/pylint 2.11.1 (#6843)

* build(deps): Bump pylint from 2.9.6 to 2.11.1

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.9.6 to 2.11.1.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.9.6...v2.11.1)

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

Signed-off-by: dependabot[bot] <[email protected]>

* fix pylint problems

* Updation after rebase.

* system: use binary mode

* Set remote execution script encoding type locale

* Update dvc/machine/__init__.py

Co-authored-by: Peter Rowlands (변기호) <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ruslan Kuprieiev <[email protected]>
Co-authored-by: Peter Rowlands (변기호) <[email protected]>
This commit is contained in:
Gao
2021-10-20 14:34:10 +03:00
committed by GitHub
co-authored by Peter Rowlands dependabot[bot] Ruslan Kuprieiev
parent 6de3e734ed
commit b652670cbf
40 changed files with 111 additions and 100 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ pytest.register_assert_rewrite("tests.utils.asserts")
def get_gitignore_content():
with open(Git.GITIGNORE) as gitignore:
with open(Git.GITIGNORE, encoding="utf-8") as gitignore:
return gitignore.read().splitlines()
+1 -1
View File
@@ -22,7 +22,7 @@ class TestRequestHandler(RangeRequestHandler):
file = self.translate_path(self.path)
if not os.path.isdir(file) and os.path.exists(file):
with open(file) as fd:
with open(file, encoding="utf-8") as fd:
encoded_text = fd.read().encode("utf8")
checksum = hashlib.md5(encoded_text).hexdigest()
self.send_header("Content-MD5", checksum)