Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#26)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.37.3 → v3.3.0](asottile/pyupgrade@v2.37.3...v3.3.0)
- https://github.com/myint/autoflake/: v1.4 → v2.0.0
- [github.com/psf/black: 22.6.0 → 22.10.0](psf/black@22.6.0...22.10.0)
- [github.com/codespell-project/codespell: v2.1.0 → v2.2.2](codespell-project/codespell@v2.1.0...v2.2.2)
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](PyCQA/flake8@5.0.4...6.0.0)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0)
- [github.com/pre-commit/mirrors-mypy: v0.971 → v0.991](pre-commit/mirrors-mypy@v0.971...v0.991)
- [github.com/adrienverge/yamllint.git: v1.27.1 → v1.28.0](https://github.com/adrienverge/yamllint.git/compare/v1.27.1...v1.28.0)
- [github.com/pappasam/toml-sort: v0.20.0 → v0.20.1](pappasam/toml-sort@v0.20.0...v0.20.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Dec 8, 2022
1 parent c414dfa commit d598c69
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci:

repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
rev: v3.3.0
hooks:
- id: pyupgrade
args: [--py39-plus]
Expand All @@ -14,20 +14,20 @@ repos:
hooks:
- id: zimports
- repo: https://github.com/myint/autoflake/
rev: v1.4
rev: v2.0.0
hooks:
- id: autoflake
files: ^((pylaundry)/.+)?[^/]+\.py$
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.10.0
hooks:
- id: black
args:
- --safe
- --quiet
files: ^((pylaundry)/.+)?[^/]+\.py$
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.2
hooks:
- id: codespell
args:
Expand All @@ -36,7 +36,7 @@ repos:
- --quiet-level=2
exclude_types: [csv, json]
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -54,7 +54,7 @@ repos:
files: ^((pylaundry)/.+)?[^/]+\.py$
exclude: (example.py)
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -63,17 +63,17 @@ repos:
- id: check-json
exclude: (.vscode|.devcontainer)
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
rev: v0.991
hooks:
- id: mypy
additional_dependencies: [types-all]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.27.1
rev: v1.28.0
hooks:
- id: yamllint
exclude: (.vscode|.devcontainer|.github|test)
- repo: https://github.com/pappasam/toml-sort
rev: v0.20.0
rev: v0.20.1
hooks:
- id: toml-sort
- repo: local
Expand Down
6 changes: 4 additions & 2 deletions pylaundry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ async def async_login(self, username: str, password: str) -> None:
username,
password,
self.installation_token,
'{"droidDisplay":"LMY47E","droidBrand":"Android","droidProduct":"sdk_phone_x86","droidDevice":"shamu","droidManufacturer":"motorola","droidModel":"Nexus'
' 6","droidHardware":"ranchu","droidSDK":28,"droidVersionRelease":"9","droidVersionIncremental":"4923214","droidVersionCodeName":"REL","droidIsRooted":false,"droidAppVersion":"4.09","droidAppBundleID":"com.esd.laundrylink.hercules"}',
(
'{"droidDisplay":"LMY47E","droidBrand":"Android","droidProduct":"sdk_phone_x86","droidDevice":"shamu","droidManufacturer":"motorola","droidModel":"Nexus'
' 6","droidHardware":"ranchu","droidSDK":28,"droidVersionRelease":"9","droidVersionIncremental":"4923214","droidVersionCodeName":"REL","droidIsRooted":false,"droidAppVersion":"4.09","droidAppBundleID":"com.esd.laundrylink.hercules"}'
),
]

response = await self._send_request(json.dumps(request_data))
Expand Down

0 comments on commit d598c69

Please sign in to comment.