Skip to content

Commit

Permalink
Merge pull request #1515 from vacanza/beta
Browse files Browse the repository at this point in the history
v0.35
  • Loading branch information
KJhellico committed Oct 16, 2023
2 parents 2799027 + b9b6618 commit b64ae77
Show file tree
Hide file tree
Showing 100 changed files with 9,492 additions and 2,493 deletions.
3 changes: 0 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ Your PR description goes here.

- [ ] I've followed the [contributing guidelines][contributing-guidelines]
- [ ] I've added references to all holidays information sources used in this PR
- [ ] This PR is filed against `beta` branch of the repository
- [ ] This PR doesn't contain any merge conflicts and has clean commit history
- [ ] The code style looks good: `make pre-commit` command generates no changes
- [ ] All tests pass locally: `make test`, `make tox` (we strongly encourage adding tests to your code)
- [ ] The related [documentation][docs] has been added/updated (check off the box for free if no updates is required)

<!--
Thanks again for your contribution!
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Check Out Repository
uses: actions/checkout@v4
- name: Set Up Python
uses: actions/setup-python@v4.7.0
uses: actions/setup-python@v4.7.1
with:
python-version: '3.11'
- name: Run pre-commit
Expand All @@ -30,7 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.7.0
uses: actions/setup-python@v4.7.1
with:
cache: pip
cache-dependency-path: |
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set Up Python
uses: actions/setup-python@v4.7.0
uses: actions/setup-python@v4.7.1
with:
cache: pip
cache-dependency-path: requirements/runtime.txt
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,33 @@ name: Update pre-commit hooks

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
auto-update:
name: Update pre-commit hooks
if: ${{ github.repository }} == "vacanza/python-holidays"
if: ${{ github.repository == 'vacanza/python-holidays' }}
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4.7.0

- uses: actions/setup-python@v4.7.1
with:
python-version: "3.11"
python-version: '3.11'

- uses: browniebroke/pre-commit-autoupdate-action@v1.0.0

- uses: peter-evans/create-pull-request@v5.0.2
with:
base: beta
body: Update pre-commit hooks to their latest versions.
branch: update-pre-commit-hooks
commit-message: "Chore: Update pre-commit hooks"
commit-message: 'chore: Update pre-commit hooks'
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
delete-branch: true
title: Update pre-commit hooks
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ github.token }}
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand Down Expand Up @@ -35,7 +35,7 @@ repos:
exclude: ^(docs)

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.6.0
hooks:
- id: mypy
additional_dependencies: [types-all]
Expand Down
20 changes: 20 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Version 0.35
============

Released October 16, 2023

- Refactor static holidays (#1509 by @arkid15r)
- Add Maldives holidays (#1508 by @kasya)
- Add Tanzania holidays (#1505 by @PPsyrius)
- Fix estimated label for multiple holiday group entities (#1512 by @arkid15r)
- Update China holidays add non-statutory holidays support, l10n, optional half-day holidays (#1491 by @PPsyrius)
- Update Thailand holidays: name change for October 13 holiday (#1493 by @PPsyrius)
- Update United States holidays: Columbus Day adjustment (#1503 by @KJhellico)
- Update documentation for holiday categories usage (#1506 by @KJhellico)
- Update pre-commit hooks automatic update workflow (#1507 by @arkid15r)
- Update project metadata: add @KJhellico to maintainers (#1501 by @arkid15r)
- Add py.typed to MANIFEST.in includes (#1498 by @arkid15r)
- Implement Tanzania `StaticHolidays` (#1513 by @PPsyrius)
- Simplify PR template (#1502 by @arkid15r)
- Standardize custom holiday classes use (#1510 by @arkid15r)

Version 0.34
============

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include CHANGES
include CONTRIBUTING.rst
include holidays/py.typed
include Makefile

recursive-include docs *
Expand Down
Loading

0 comments on commit b64ae77

Please sign in to comment.