Skip to content

Commit 8ec6de6

Browse files
Merge remote-tracking branch 'upstream/dev' into feature/telangana-holidays
2 parents ac23f7d + d46e9b4 commit 8ec6de6

101 files changed

Lines changed: 5978 additions & 777 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ A clear and concise description of what you expected to happen.
2525
If applicable, add screenshots to help explain your problem.
2626

2727
**Environment**
28+
Provide version information:
2829

2930
- OS:
3031
- Python version:

.github/dependabot.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,43 @@
11
version: 2
22
updates:
3-
- package-ecosystem: uv
3+
- package-ecosystem: github-actions
4+
cooldown:
5+
default-days: 21
46
directory: /
7+
groups:
8+
version-updates:
9+
applies-to: version-updates
10+
patterns:
11+
- '*'
512
schedule:
6-
interval: weekly
713
day: wednesday
14+
interval: weekly
815
target-branch: dev
916

10-
- package-ecosystem: github-actions
17+
- package-ecosystem: pre-commit
18+
cooldown:
19+
default-days: 21
1120
directory: /
21+
groups:
22+
version-updates:
23+
applies-to: version-updates
24+
patterns:
25+
- '*'
1226
schedule:
27+
day: wednesday
1328
interval: weekly
29+
target-branch: dev
30+
31+
- package-ecosystem: uv
32+
cooldown:
33+
default-days: 21
34+
directory: /
35+
groups:
36+
version-updates:
37+
applies-to: version-updates
38+
patterns:
39+
- '*'
40+
schedule:
1441
day: wednesday
42+
interval: weekly
1543
target-branch: dev

.github/workflows/ci-cd.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ on:
1515
tags:
1616
- 'v*'
1717
workflow_dispatch:
18-
workflow_run:
19-
workflows: ['Update pre-commit hooks']
20-
branches:
21-
- update-pre-commit-hooks
22-
types:
23-
- completed
2418

2519
env:
2620
FORCE_COLOR: 1
@@ -38,7 +32,7 @@ jobs:
3832
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
3933

4034
- name: Install uv
41-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
35+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
4236
with:
4337
python-version: '3.14'
4438
version: '0.9.16'
@@ -61,12 +55,12 @@ jobs:
6155
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
6256

6357
- name: Initialize CodeQL
64-
uses: github/codeql-action/init@38697555549f1db7851b81482ff19f1fa5c4fedc
58+
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13
6559
with:
6660
languages: python
6761

6862
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@38697555549f1db7851b81482ff19f1fa5c4fedc
63+
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13
7064
with:
7165
category: '/language:python'
7266

@@ -92,7 +86,7 @@ jobs:
9286
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
9387

9488
- name: Install uv
95-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
89+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
9690
with:
9791
python-version: ${{ matrix.python-version }}
9892
version: '0.9.16'
@@ -107,7 +101,7 @@ jobs:
107101
run: make test
108102

109103
- name: Upload coverage to Codecov
110-
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad
104+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2
111105
with:
112106
token: ${{ secrets.CODECOV_TOKEN }}
113107

@@ -120,7 +114,7 @@ jobs:
120114
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
121115

122116
- name: Install uv
123-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
117+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
124118
with:
125119
python-version: '3.14'
126120
version: '0.9.16'
@@ -170,7 +164,7 @@ jobs:
170164
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
171165

172166
- name: Install uv
173-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
167+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
174168
with:
175169
python-version: '3.14'
176170
version: '0.9.16'
@@ -205,7 +199,7 @@ jobs:
205199
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
206200

207201
- name: Install uv
208-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
202+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
209203
with:
210204
python-version: '3.14'
211205
version: '0.9.16'
@@ -265,7 +259,7 @@ jobs:
265259
done
266260
267261
- name: Sign the files using Sigstore
268-
uses: sigstore/gh-action-sigstore-python@a5caf349bc536fbef3668a10ed7f5cd309a4b53d
262+
uses: sigstore/gh-action-sigstore-python@04cffa1d795717b140764e8b640de88853c92acc
269263
with:
270264
inputs: |
271265
./dist/*.tar.gz

.github/workflows/deploy-gh-pages.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,16 @@ permissions: {}
1818

1919
jobs:
2020
build:
21-
runs-on: ubuntu-24.04
21+
if: github.repository == 'vacanza/holidays'
2222
permissions:
2323
contents: read
24+
runs-on: ubuntu-24.04
2425
steps:
2526
- name: Check out repository
2627
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2728

2829
- name: Install uv
29-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
30+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
3031
with:
3132
python-version: '3.14'
3233
version: '0.9.16'
@@ -49,11 +50,11 @@ jobs:
4950
environment:
5051
name: github-pages
5152
url: ${{ steps.deployment.outputs.page_url }}
52-
runs-on: ubuntu-24.04
5353
needs: build
5454
permissions:
5555
id-token: write
5656
pages: write
57+
runs-on: ubuntu-24.04
5758
steps:
5859
- name: Deploy to GitHub Pages
5960
id: deployment

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/update-snapshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2020

2121
- name: Install uv
22-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
22+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
2323
with:
2424
python-version: '3.14'
2525
version: '0.9.16'

.markdownlint.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
default: true
2+
3+
# MD013/line-length
4+
MD013: false
5+
6+
# MD041/first-line-heading
7+
MD041: false

.pre-commit-config.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,19 @@ repos:
2626
- --py310-plus
2727

2828
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: v0.15.7
29+
rev: v0.15.9
3030
hooks:
3131
- id: ruff-check
3232
- id: ruff-format
3333

34+
- repo: https://github.com/igorshubovych/markdownlint-cli
35+
rev: v0.48.0
36+
hooks:
37+
- id: markdownlint
38+
args:
39+
- --fix
40+
files: \.md$
41+
3442
- repo: https://github.com/lucas-c/pre-commit-hooks
3543
rev: v1.5.6
3644
hooks:
@@ -48,7 +56,7 @@ repos:
4856
exclude: ^(docs)
4957

5058
- repo: https://github.com/pre-commit/mirrors-mypy
51-
rev: v1.19.1
59+
rev: v1.20.0
5260
hooks:
5361
- id: mypy
5462
additional_dependencies:
@@ -57,7 +65,7 @@ repos:
5765
- types-requests
5866

5967
- repo: https://github.com/tox-dev/pyproject-fmt
60-
rev: v2.20.0
68+
rev: v2.21.0
6169
hooks:
6270
- id: pyproject-fmt
6371

0 commit comments

Comments
 (0)