Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,32 @@ default_language_version:
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: (test_loader.py|pretty-false_sortkeys-false.yaml|pretty-false_sortkeys-true.yaml)
- id: end-of-file-fixer
exclude: (test_csv_processing_blanks.csv|test.txt)
- id: check-ast
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.0
rev: v0.14.10
hooks:
# Run the linter.
- id: ruff-check
args: [ --fix ]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.7.14
rev: 0.9.22
hooks:
# Run the pip compile
- id: pip-compile
name: pip-compile requirements.txt
files: pyproject.toml
args: [ pyproject.toml, --resolver=backtracking, --all-extras, --upgrade, -q, -o, requirements.txt ]
args: [ pyproject.toml, --resolver=backtracking, --upgrade, -q,
-o, requirements.txt ]
- id: pip-compile
name: pip-compile requirements-test.txt
files: pyproject.toml
args: [ pyproject.toml, --resolver=backtracking, --upgrade, -q,
--extra, test, -c, requirements.txt, -o, requirements-test.txt ]
2 changes: 1 addition & 1 deletion hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ run = """

[envs.hatch-static-analysis]
config-path = "none"
dependencies = ["ruff==0.9.10"]
dependencies = ["ruff==0.14.10"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
]
requires-python = ">=3.8"
requires-python = ">=3.10"
# Extras for frictionless[excel,json] added explicitly
# for conda-forge compatibility
dependencies = [
Expand Down
140 changes: 11 additions & 129 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,181 +1,75 @@
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml --resolver=backtracking --all-extras -o requirements.txt
# uv pip compile pyproject.toml --resolver=backtracking -o requirements.txt
annotated-types==0.7.0
# via pydantic
astdoc==1.3.2
# via mkapi
attrs==25.4.0
# via
# frictionless
# jsonlines
# jsonschema
# referencing
babel==2.17.0
# via mkdocs-material
backrefs==6.1
# via mkdocs-material
beautifulsoup4==4.14.3
# via hdx-python-utilities (pyproject.toml)
certifi==2026.1.4
# via requests
cfgv==3.5.0
# via pre-commit
chardet==5.2.0
# via frictionless
charset-normalizer==3.4.4
# via requests
click==8.3.1
# via
# mkdocs
# typer
colorama==0.4.6
# via mkdocs-material
coverage==7.13.1
# via pytest-cov
cydifflib==1.2.0
# via hdx-python-utilities (pyproject.toml)
distlib==0.4.0
# via virtualenv
dnspython==2.8.0
# via email-validator
email-validator==2.3.0
# via hdx-python-utilities (pyproject.toml)
# via typer
et-xmlfile==2.0.0
# via openpyxl
filelock==3.20.2
# via virtualenv
frictionless==5.18.1
# via hdx-python-utilities (pyproject.toml)
ghp-import==2.1.0
# via mkdocs
html5lib==1.1
# via hdx-python-utilities (pyproject.toml)
humanize==4.15.0
# via frictionless
identify==2.6.15
# via pre-commit
idna==3.11
# via
# email-validator
# requests
# via requests
ijson==3.4.0.post0
# via hdx-python-utilities (pyproject.toml)
iniconfig==2.3.0
# via pytest
isodate==0.7.2
# via frictionless
jinja2==3.1.6
# via
# frictionless
# mkapi
# mkdocs
# mkdocs-material
# via frictionless
jsonlines==4.0.0
# via hdx-python-utilities (pyproject.toml)
jsonschema==4.25.1
jsonschema==4.26.0
# via
# frictionless
# tableschema-to-template
jsonschema-specifications==2025.9.1
# via jsonschema
loguru==0.7.3
# via
# hdx-python-utilities (pyproject.toml)
# pytest-loguru
markdown==3.10
# via
# mkdocs
# mkdocs-material
# pymdown-extensions
# via hdx-python-utilities (pyproject.toml)
markdown-it-py==4.0.0
# via rich
marko==2.2.2
# via frictionless
markupsafe==3.0.3
# via
# jinja2
# mkdocs
# via jinja2
mdurl==0.1.2
# via markdown-it-py
mergedeep==1.3.4
# via
# mkdocs
# mkdocs-get-deps
mkapi==4.5.0
# via hdx-python-utilities (pyproject.toml)
mkdocs==1.6.1
# via
# mkapi
# mkdocs-material
mkdocs-get-deps==0.2.0
# via mkdocs
mkdocs-material==9.7.1
# via mkapi
mkdocs-material-extensions==1.3.1
# via mkdocs-material
nodeenv==1.10.0
# via pre-commit
openpyxl==3.1.5
# via hdx-python-utilities (pyproject.toml)
packaging==25.0
# via
# mkdocs
# pytest
paginate==0.5.7
# via mkdocs-material
pathspec==0.12.1
# via mkdocs
petl==1.7.17
# via frictionless
platformdirs==4.5.1
# via
# mkdocs-get-deps
# virtualenv
pluggy==1.6.0
# via
# pytest
# pytest-cov
pre-commit==4.5.1
# via hdx-python-utilities (pyproject.toml)
pydantic==2.12.5
# via frictionless
pydantic-core==2.41.5
# via pydantic
pygments==2.19.2
# via
# mkdocs-material
# pytest
# rich
pymdown-extensions==10.20
# via mkdocs-material
# via rich
pyphonetics==0.5.3
# via hdx-python-utilities (pyproject.toml)
pytest==9.0.2
# via
# hdx-python-utilities (pyproject.toml)
# pytest-cov
pytest-cov==7.0.0
# via hdx-python-utilities (pyproject.toml)
pytest-loguru==0.4.0
# via hdx-python-utilities (pyproject.toml)
python-dateutil==2.9.0.post0
# via
# hdx-python-utilities (pyproject.toml)
# frictionless
# ghp-import
python-slugify==8.0.4
# via frictionless
pyyaml==6.0.3
# via
# frictionless
# mkdocs
# mkdocs-get-deps
# pre-commit
# pymdown-extensions
# pyyaml-env-tag
# tableschema-to-template
pyyaml-env-tag==1.1
# via mkdocs
ratelimit==2.2.1
# via hdx-python-utilities (pyproject.toml)
referencing==0.37.0
Expand All @@ -185,7 +79,6 @@ referencing==0.37.0
requests==2.32.5
# via
# frictionless
# mkdocs-material
# requests-file
requests-file==3.0.1
# via hdx-python-utilities (pyproject.toml)
Expand All @@ -204,22 +97,17 @@ shellingham==1.5.4
simpleeval==1.0.3
# via frictionless
six==1.17.0
# via
# html5lib
# python-dateutil
soupsieve==2.8.1
# via beautifulsoup4
# via python-dateutil
tableschema-to-template==0.0.13
# via hdx-python-utilities (pyproject.toml)
tabulate==0.9.0
# via frictionless
text-unidecode==1.3
# via python-slugify
typer==0.21.0
typer==0.21.1
# via frictionless
typing-extensions==4.15.0
# via
# beautifulsoup4
# frictionless
# pydantic
# pydantic-core
Expand All @@ -229,16 +117,10 @@ typing-inspection==0.4.2
# via pydantic
unidecode==1.4.0
# via pyphonetics
urllib3==2.6.2
urllib3==2.6.3
# via requests
validators==0.35.0
# via frictionless
virtualenv==20.35.4
# via pre-commit
watchdog==6.0.0
# via mkdocs
webencodings==0.5.1
# via html5lib
xlrd==2.0.2
# via hdx-python-utilities (pyproject.toml)
xlsx2csv==0.8.4
Expand Down
8 changes: 4 additions & 4 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
target-version = "py310"
exclude = ["_version.py"]

[lint]
# List of rules: https://docs.astral.sh/ruff/rules/
select = [
"E", # pycodestyle - default
"F", # pyflakes - default
"I" # isort
extend-select = [
"I", # isort
"UP" # Upgrade Python
]
ignore = [
"E501" # Line too long
Expand Down
Loading
Loading