Skip to content

Update iCalendar generation tool: add output filename template support#3679

Merged
arkid15r merged 6 commits into
vacanza:devfrom
KJhellico:upd-generate-ics
Jul 15, 2026
Merged

Update iCalendar generation tool: add output filename template support#3679
arkid15r merged 6 commits into
vacanza:devfrom
KJhellico:upd-generate-ics

Update template validation

e939b4d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 5, 2026 in 52s

Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 510 in tests/test_generate_ics.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=vacanza_python-holidays&issues=AZ8yNwvGlWsfFY_QQa4Y&open=AZ8yNwvGlWsfFY_QQa4Y&pullRequest=3679

Check failure on line 185 in holidays/generate_ics.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure the regex used here, which is vulnerable to exponential runtime due to backtracking, cannot lead to denial of service.

See more on https://sonarcloud.io/project/issues?id=vacanza_python-holidays&issues=AZ8ykZ2q8tc1zsIw-pkF&open=AZ8ykZ2q8tc1zsIw-pkF&pullRequest=3679

Check warning on line 498 in tests/test_generate_ics.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=vacanza_python-holidays&issues=AZ8vzq8GPgOMskWIQp0V&open=AZ8vzq8GPgOMskWIQp0V&pullRequest=3679

Check warning on line 521 in tests/test_generate_ics.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=vacanza_python-holidays&issues=AZ8yNwvGlWsfFY_QQa4Z&open=AZ8yNwvGlWsfFY_QQa4Z&pullRequest=3679