Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Commit 5b16917

Browse files
Update dependencies
1 parent 83fb793 commit 5b16917

7 files changed

Lines changed: 841 additions & 857 deletions

File tree

.pre-commit-config.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,39 @@ repos:
33
rev: v0.14.9
44
hooks:
55
- id: ruff-format
6-
- id: ruff
7-
- repo: https://github.com/executablebooks/mdformat
6+
- id: ruff-check
7+
- repo: https://github.com/hukkin/mdformat
88
rev: 1.0.0
99
hooks:
1010
- id: mdformat
1111
additional_dependencies:
1212
- mdformat-gfm
13-
- mdformat-tables
13+
- mdformat-ruff
1414
args:
1515
- --number
1616
- --wrap=keep
1717
- repo: https://github.com/pre-commit/pre-commit-hooks
1818
rev: v6.0.0
1919
hooks:
20+
- id: check-added-large-files
2021
- id: check-ast
2122
- id: check-builtin-literals
2223
- id: check-case-conflict
2324
- id: check-docstring-first
25+
# - id: check-executables-have-shebangs
26+
- id: check-illegal-windows-names
27+
- id: check-json
2428
- id: check-merge-conflict
2529
args:
2630
- --assume-in-merge
31+
- id: check-shebang-scripts-are-executable
2732
- id: check-toml
33+
- id: check-vcs-permalinks
34+
# - id: check-xml
2835
- id: check-yaml
2936
args:
3037
- --allow-multiple-documents
38+
- id: debug-statements
3139
- id: end-of-file-fixer
3240
exclude_types:
3341
- json
@@ -38,6 +46,10 @@ repos:
3846
args:
3947
- --fix=auto
4048
# - id: name-tests-test
49+
- id: pretty-format-json
50+
args:
51+
- --autofix
52+
- --indent=2
4153
- id: trailing-whitespace
4254
args:
4355
- --markdown-linebreak-ext=md

extract_dates.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@ def main() -> None:
303303
output_file = Path(f"output/{location}.json")
304304
output_file.parent.mkdir(parents=True, exist_ok=True)
305305
with output_file.open("w") as stream:
306-
json.dump(location_data, stream, indent=4)
306+
json.dump(location_data, stream, indent=2)
307+
stream.write("\n")
307308

308309

309310
if __name__ == "__main__":

0 commit comments

Comments
 (0)