Skip to content

Commit

Permalink
Upgrade Data to version 2024b (#247)
Browse files Browse the repository at this point in the history
* Update CHANGELOG.rst

* separate clang util module

* Delete current_data_statistics.txt

* minor version bump

* update binaries

* version bump

* update pre-commit hooks

* update ruff dev dependency

* minor edits

* separate pre-commit hook step
  • Loading branch information
jannikmi authored Sep 20, 2024
1 parent 1874784 commit 437113f
Show file tree
Hide file tree
Showing 23 changed files with 626 additions and 670 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ on:
workflow_dispatch:

jobs:
pre-commit-hooks:
name: run pre-commit hooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run pre-commit hook
uses: pre-commit/[email protected]

test:
runs-on: ubuntu-latest
strategy:
Expand All @@ -28,9 +37,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Run pre-commit hook
uses: pre-commit/[email protected]

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
16 changes: 8 additions & 8 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.5.0
rev: v4.6.0
hooks:
- id: check-ast # Is it valid Python?
- id: debug-statements # no debbuging statements used
Expand All @@ -19,37 +19,37 @@ repos:


- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.2
rev: v0.6.6
hooks:
# linter.
- id: ruff
args: [ --fix ]
- id: ruff-format

- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
rev: 1.18.0
hooks:
- id: blacken-docs

# TODO also check docs/. make compatible with sphinx
- repo: https://github.com/myint/rstcheck
rev: 'v6.2.0'
rev: 'v6.2.4'
hooks:
- id: rstcheck
exclude: ^(docs/)

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.16
rev: v0.19
hooks:
- id: validate-pyproject

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.1
rev: v3.17.0
hooks:
- id: pyupgrade

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.11.2
hooks:
- id: mypy
exclude: ^((tests|scripts)/)
Expand All @@ -62,6 +62,6 @@ repos:
# additional_dependencies: [ numpy, poetry==1.1.11 ]

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.1
rev: v18.1.8
hooks:
- id: clang-format
9 changes: 8 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Changelog
=========


6.5.3 (2024-09-16)
------------------

* updated the data to `2024b <https://github.com/evansiroky/timezone-boundary-builder/releases/tag/2024b>`__.


6.5.2 (2024-06-17)
------------------

Expand All @@ -18,7 +25,7 @@ Changelog
6.5.0 (2024-03-14)
------------------

* updated the data to `2024a <https://github.com/evansiroky/timezone-boundary-builder/releases/tag/2023a>`__.
* updated the data to `2024a <https://github.com/evansiroky/timezone-boundary-builder/releases/tag/2024a>`__.

internal:

Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
# By default make uses sh to execute commands, and sh doesn't know `source`
SHELL=/bin/bash


install:
pip install --upgrade pip
@echo "installing all specified dependencies..."
@#poetry install --no-dev
# NOTE: root package needs to be installed for CLI tests to work!
@poetry install --all-extras --sync --no-root
@poetry install --all-extras --sync

update:
@echo "updating and pinning the dependencies specified in 'pyproject.toml':"
Expand Down
126 changes: 0 additions & 126 deletions current_data_statistics.txt

This file was deleted.

Loading

0 comments on commit 437113f

Please sign in to comment.