Skip to content

Commit 143039e

Browse files
authored
Merge pull request #92 from mivek/fix/cloudquantity-clr
fix: handle cloud quantity CLR the same way as SKC
2 parents 5a940bf + f88eaa0 commit 143039e

File tree

29 files changed

+686
-72
lines changed

29 files changed

+686
-72
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.8', '3.9', '3.10', '3.11']
14+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
1515

1616
steps:
1717
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Python
3030
uses: actions/setup-python@v6
3131
with:
32-
python-version: '3.11'
32+
python-version: '3.13'
3333
- name: Install dependencies
3434
run: npm install
3535
- name: Run semantic-release

Pipfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ parameterized = "*"
88
coverage = "*"
99

1010
[packages]
11-
11+
build = "*"
12+
wheel = "*"
13+
setuptools = "*"
14+
twine = "*"
1215

1316
[requires]
14-

Pipfile.lock

Lines changed: 622 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

metar_taf_parser/command/remark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def can_parse(self, code: str) -> any:
516516

517517

518518
class TornadicActivityBegCommand(Command):
519-
regex = '^(TORNADO|FUNNEL CLOUD|WATERSPOUT) (B(\d{2})?(\d{2}))( (\d+)? ([A-Z]{1,2})?)?'
519+
regex = r'^(TORNADO|FUNNEL CLOUD|WATERSPOUT) (B(\d{2})?(\d{2}))( (\d+)? ([A-Z]{1,2})?)?'
520520

521521
def __init__(self):
522522
self._pattern = re.compile(TornadicActivityBegCommand.regex)
66 Bytes
Binary file not shown.

metar_taf_parser/locale/de/LC_MESSAGES/messages.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ msgstr ""
1010
msgid "CloudQuantity.BKN"
1111
msgstr "stark bewölkt"
1212

13+
#:
14+
msgid "CloudQuantity.CLR"
15+
msgstr "wolkenlos"
16+
1317
#:
1418
msgid "CloudQuantity.FEW"
1519
msgstr "leicht bewölkt"
42 Bytes
Binary file not shown.

metar_taf_parser/locale/en/LC_MESSAGES/messages.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ msgstr ""
1010
msgid "CloudQuantity.BKN"
1111
msgstr "broken"
1212

13+
#:
14+
msgid "CloudQuantity.CLR"
15+
msgstr "sky clear"
16+
1317
#:
1418
msgid "CloudQuantity.FEW"
1519
msgstr "few"
48 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)