7 Commits

Author SHA1 Message Date
4eb4b771d7 Init ruff lint/format (#3719) 2024-05-27 11:20:07 +02:00
a5a0d27679 Bump pyupgrade from 2.34.0 to 3.15.2 (#3662)
* Bump pyupgrade from 2.34.0 to 3.15.2

Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 2.34.0 to 3.15.2.
- [Commits](https://github.com/asottile/pyupgrade/compare/v2.34.0...v3.15.2)

---
updated-dependencies:
- dependency-name: pyupgrade
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run new version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ludeeus <joasoe@gmail.com>
2024-05-22 18:24:08 +02:00
e7929b75a1 Validate repo data fetched from data-v2.hacs.xyz (#3594)
* Validate repo data fetched from data-v2.hacs.xyz

* Allow extra keys when downloading HACS data

* Rename data validation maps

* Lint

* Add mandatory keys to data-v2 fixtures

* Add test

* Add snapshots

* Move validation to data client

* Tweak

* Tweak

* Remove extra keys when validating fetched critical/removed repos

* lint

---------

Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
Co-authored-by: ludeeus <joasoe@gmail.com>
2024-04-12 13:09:25 +02:00
cdae54a8a1 Use different message for timeout error (#3006) 2023-01-15 10:33:13 +00:00
49f47e3dc6 Add etag support for data client (#2997) 2023-01-14 09:39:35 +01:00
fe1cd6a632 Add client_name User Agent to DataClient (#2996) 2023-01-13 17:37:58 +01:00
58af67f261 Add base client to get data from R2 (#2990)
* Add base client to get data from R2

* lint
2023-01-12 21:22:14 +01:00