meteocat 3.2.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug_report.md +45 -45
- package/.github/ISSUE_TEMPLATE/config.yml +8 -8
- package/.github/ISSUE_TEMPLATE/improvement.md +39 -39
- package/.github/ISSUE_TEMPLATE/new_function.md +41 -41
- package/.github/labels.yml +63 -63
- package/.github/workflows/autocloser.yaml +27 -27
- package/.github/workflows/close-on-label.yml +48 -48
- package/.github/workflows/force-sync-labels.yml +18 -18
- package/.github/workflows/hassfest.yaml +13 -13
- package/.github/workflows/publish-zip.yml +67 -67
- package/.github/workflows/release.yml +41 -41
- package/.github/workflows/stale.yml +63 -63
- package/.github/workflows/sync-gitlab.yml +107 -107
- package/.github/workflows/sync-labels.yml +21 -21
- package/.github/workflows/validate.yaml +16 -16
- package/.pre-commit-config.yaml +37 -37
- package/.releaserc +37 -37
- package/AUTHORS.md +13 -13
- package/CHANGELOG.md +954 -932
- package/README.md +207 -207
- package/conftest.py +11 -11
- package/custom_components/meteocat/__init__.py +298 -298
- package/custom_components/meteocat/condition.py +63 -63
- package/custom_components/meteocat/config_flow.py +613 -613
- package/custom_components/meteocat/const.py +132 -132
- package/custom_components/meteocat/helpers.py +58 -58
- package/custom_components/meteocat/manifest.json +25 -25
- package/custom_components/meteocat/options_flow.py +287 -287
- package/custom_components/meteocat/strings.json +1058 -1058
- package/custom_components/meteocat/translations/ca.json +1058 -1058
- package/custom_components/meteocat/translations/en.json +1058 -1058
- package/custom_components/meteocat/translations/es.json +1058 -1058
- package/custom_components/meteocat/version.py +1 -1
- package/custom_components/meteocat/weather.py +218 -218
- package/filetree.py +48 -48
- package/filetree.txt +79 -79
- package/hacs.json +8 -8
- package/info.md +11 -11
- package/package.json +22 -22
- package/poetry.lock +3222 -3222
- package/pyproject.toml +68 -68
- package/requirements.test.txt +3 -3
- package/setup.cfg +64 -64
- package/setup.py +10 -10
- package/tests/bandit.yaml +17 -17
- package/tests/conftest.py +19 -19
- package/tests/test_init.py +9 -9
package/.pre-commit-config.yaml
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
repos:
|
|
2
|
-
- repo: https://github.com/asottile/pyupgrade
|
|
3
|
-
rev: v3.15.2
|
|
4
|
-
hooks:
|
|
5
|
-
- id: pyupgrade
|
|
6
|
-
args: [--py37-plus]
|
|
7
|
-
- repo: https://github.com/psf/black
|
|
8
|
-
rev: 24.4.2
|
|
9
|
-
hooks:
|
|
10
|
-
- id: black
|
|
11
|
-
args:
|
|
12
|
-
- --safe
|
|
13
|
-
- --quiet
|
|
14
|
-
files: ^((homeassistant|script|tests)/.+)?[^/]+\.py$
|
|
15
|
-
- repo: https://github.com/codespell-project/codespell
|
|
16
|
-
rev: v2.2.6
|
|
17
|
-
hooks:
|
|
18
|
-
- id: codespell
|
|
19
|
-
args:
|
|
20
|
-
- --ignore-words-list=hass,alot,datas,dof,dur,farenheit,hist,iff,ines,ist,lightsensor,mut,nd,pres,referer,ser,serie,te,technik,ue,uint,visability,wan,wanna,withing
|
|
21
|
-
- --skip="./.*,*.csv,*.json"
|
|
22
|
-
- --quiet-level=2
|
|
23
|
-
exclude_types: [csv, json]
|
|
24
|
-
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
25
|
-
rev: v0.4.8
|
|
26
|
-
hooks:
|
|
27
|
-
- id: ruff
|
|
28
|
-
args: [--fix, --exit-non-zero-on-fix]
|
|
29
|
-
- id: ruff-format
|
|
30
|
-
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
31
|
-
rev: v1.10.0
|
|
32
|
-
hooks:
|
|
33
|
-
- id: mypy
|
|
34
|
-
args:
|
|
35
|
-
- --pretty
|
|
36
|
-
- --show-error-codes
|
|
37
|
-
- --show-error-context
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
3
|
+
rev: v3.15.2
|
|
4
|
+
hooks:
|
|
5
|
+
- id: pyupgrade
|
|
6
|
+
args: [--py37-plus]
|
|
7
|
+
- repo: https://github.com/psf/black
|
|
8
|
+
rev: 24.4.2
|
|
9
|
+
hooks:
|
|
10
|
+
- id: black
|
|
11
|
+
args:
|
|
12
|
+
- --safe
|
|
13
|
+
- --quiet
|
|
14
|
+
files: ^((homeassistant|script|tests)/.+)?[^/]+\.py$
|
|
15
|
+
- repo: https://github.com/codespell-project/codespell
|
|
16
|
+
rev: v2.2.6
|
|
17
|
+
hooks:
|
|
18
|
+
- id: codespell
|
|
19
|
+
args:
|
|
20
|
+
- --ignore-words-list=hass,alot,datas,dof,dur,farenheit,hist,iff,ines,ist,lightsensor,mut,nd,pres,referer,ser,serie,te,technik,ue,uint,visability,wan,wanna,withing
|
|
21
|
+
- --skip="./.*,*.csv,*.json"
|
|
22
|
+
- --quiet-level=2
|
|
23
|
+
exclude_types: [csv, json]
|
|
24
|
+
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
25
|
+
rev: v0.4.8
|
|
26
|
+
hooks:
|
|
27
|
+
- id: ruff
|
|
28
|
+
args: [--fix, --exit-non-zero-on-fix]
|
|
29
|
+
- id: ruff-format
|
|
30
|
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
31
|
+
rev: v1.10.0
|
|
32
|
+
hooks:
|
|
33
|
+
- id: mypy
|
|
34
|
+
args:
|
|
35
|
+
- --pretty
|
|
36
|
+
- --show-error-codes
|
|
37
|
+
- --show-error-context
|
package/.releaserc
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
{
|
|
2
|
-
"branches": ["master"],
|
|
3
|
-
"plugins": [
|
|
4
|
-
"@semantic-release/commit-analyzer",
|
|
5
|
-
"@semantic-release/release-notes-generator",
|
|
6
|
-
[
|
|
7
|
-
"@semantic-release/changelog",
|
|
8
|
-
{
|
|
9
|
-
"changelogFile": "CHANGELOG.md"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"@semantic-release/exec",
|
|
14
|
-
{
|
|
15
|
-
"prepareCmd": "bash ./scripts/update_version.sh ${nextRelease.version}"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
[
|
|
19
|
-
"@semantic-release/git",
|
|
20
|
-
{
|
|
21
|
-
"assets": [
|
|
22
|
-
"pyproject.toml",
|
|
23
|
-
"custom_components/meteocat/manifest.json",
|
|
24
|
-
"custom_components/meteocat/version.py",
|
|
25
|
-
"custom_components/meteocat/__init__.py",
|
|
26
|
-
"CHANGELOG.md",
|
|
27
|
-
"package.json",
|
|
28
|
-
"package-lock.json"
|
|
29
|
-
],
|
|
30
|
-
"message": "chore(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"@semantic-release/npm",
|
|
34
|
-
"@semantic-release/github"
|
|
35
|
-
],
|
|
36
|
-
"repositoryUrl": "https://github.com/figorr/meteocat"
|
|
37
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"branches": ["master"],
|
|
3
|
+
"plugins": [
|
|
4
|
+
"@semantic-release/commit-analyzer",
|
|
5
|
+
"@semantic-release/release-notes-generator",
|
|
6
|
+
[
|
|
7
|
+
"@semantic-release/changelog",
|
|
8
|
+
{
|
|
9
|
+
"changelogFile": "CHANGELOG.md"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"@semantic-release/exec",
|
|
14
|
+
{
|
|
15
|
+
"prepareCmd": "bash ./scripts/update_version.sh ${nextRelease.version}"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"@semantic-release/git",
|
|
20
|
+
{
|
|
21
|
+
"assets": [
|
|
22
|
+
"pyproject.toml",
|
|
23
|
+
"custom_components/meteocat/manifest.json",
|
|
24
|
+
"custom_components/meteocat/version.py",
|
|
25
|
+
"custom_components/meteocat/__init__.py",
|
|
26
|
+
"CHANGELOG.md",
|
|
27
|
+
"package.json",
|
|
28
|
+
"package-lock.json"
|
|
29
|
+
],
|
|
30
|
+
"message": "chore(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"@semantic-release/npm",
|
|
34
|
+
"@semantic-release/github"
|
|
35
|
+
],
|
|
36
|
+
"repositoryUrl": "https://github.com/figorr/meteocat"
|
|
37
|
+
}
|
package/AUTHORS.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# Contributions to `meteocat`
|
|
2
|
-
|
|
3
|
-
## Owners
|
|
4
|
-
|
|
5
|
-
- Figorr [GitLab](https://gitlab.com/figorr) [GitHub](https://github.com/figorr)
|
|
6
|
-
|
|
7
|
-
## Maintainers
|
|
8
|
-
|
|
9
|
-
- Figorr [GitLab](https://gitlab.com/figorr) [GitHub](https://github.com/figorr)
|
|
10
|
-
|
|
11
|
-
## Contributors
|
|
12
|
-
|
|
13
|
-
- mcasellas [GitHub](https://github.com/mcasellas)
|
|
1
|
+
# Contributions to `meteocat`
|
|
2
|
+
|
|
3
|
+
## Owners
|
|
4
|
+
|
|
5
|
+
- Figorr [GitLab](https://gitlab.com/figorr) [GitHub](https://github.com/figorr)
|
|
6
|
+
|
|
7
|
+
## Maintainers
|
|
8
|
+
|
|
9
|
+
- Figorr [GitLab](https://gitlab.com/figorr) [GitHub](https://github.com/figorr)
|
|
10
|
+
|
|
11
|
+
## Contributors
|
|
12
|
+
|
|
13
|
+
- mcasellas [GitHub](https://github.com/mcasellas)
|