Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update project lockfiles and pre-commit setup #287

Merged
merged 6 commits into from
Oct 1, 2024
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
23 changes: 14 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,41 @@ repos:
- id: end-of-file-fixer
- id: mixed-line-ending
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
rev: v1.11.2
hooks:
# See https://github.com/pre-commit/mirrors-mypy/blob/main/.pre-commit-hooks.yaml
- id: mypy
types_or: [python, pyi]
args: [--ignore-missing-imports, --scripts-are-modules]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
rev: v0.6.8
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/PyCQA/bandit
rev: 1.7.9
rev: 1.7.10
hooks:
- id: bandit
args: [-c, pyproject.toml]
additional_dependencies: ["bandit[toml]"]
- repo: https://github.com/jsh9/pydoclint
rev: 0.5.6
hooks:
- id: pydoclint
args: [--check-class-attributes=False]
# Disabled due to incompatibility with our exception translator facility.
# See https://github.com/jsh9/pydoclint/issues/174
# TODO(nicholasjng): Re-enable once fixed or an ignore facility is available.
# - repo: https://github.com/jsh9/pydoclint
# rev: 0.5.9
# hooks:
# - id: pydoclint
# args: [--check-class-attributes=False]
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.2.25
rev: 0.4.17
hooks:
- id: pip-compile
name: pip-compile requirements-dev.txt
args:
- --no-annotate
- --no-strip-extras
- --python-version=3.9
- --extra=dev
- --output-file=requirements-dev.txt
- pyproject.toml
Expand All @@ -52,6 +56,7 @@ repos:
args:
- --no-annotate
- --no-strip-extras
- --python-version=3.9
- --extra=docs
- --output-file=requirements-docs.txt
- pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion hack/lock-deps.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -ex

INFILE=pyproject.toml
COMMON_OPTIONS=(--no-annotate --no-strip-extras)
COMMON_OPTIONS=(--no-annotate --no-strip-extras --python-version="3.9")

# Treat positional arguments as packages to be upgraded
while [[ $# -gt 0 ]]; do
Expand Down
48 changes: 26 additions & 22 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,40 +1,44 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --no-annotate --no-strip-extras --extra=dev --output-file=requirements-dev.txt pyproject.toml
# uv pip compile --no-annotate --no-strip-extras --python-version=3.9 --extra=dev --output-file=requirements-dev.txt pyproject.toml
aenum==3.1.15
annotated-types==0.7.0
build==1.2.1
build==1.2.2
cfgv==3.4.0
click==8.1.7
coverage[toml]==7.6.0
coverage[toml]==7.6.1
distlib==0.3.8
docstring-parser-fork==0.0.9
duckdb==0.10.0
filelock==3.15.4
fsspec==2024.6.1
identify==2.6.0
exceptiongroup==1.2.2
filelock==3.16.1
fsspec==2024.9.0
identify==2.6.1
importlib-metadata==8.5.0
iniconfig==2.0.0
lakefs==0.7.0
lakefs-sdk==1.29.0
lakefs==0.7.1
lakefs-sdk==1.36.0
nodeenv==1.9.1
numpy==2.0.0
numpy==2.0.2
packaging==24.1
pandas[parquet]==2.2.2
platformdirs==4.2.2
pandas[parquet]==2.2.3
platformdirs==4.3.6
pluggy==1.5.0
polars==1.2.0
pre-commit==3.7.1
polars==1.8.2
pre-commit==3.8.0
pyarrow==17.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pydoclint==0.5.5
pyproject-hooks==1.1.0
pytest==8.2.2
pydantic==2.9.2
pydantic-core==2.23.4
pydoclint==0.5.9
pyproject-hooks==1.2.0
pytest==8.3.3
pytest-cov==5.0.0
python-dateutil==2.9.0.post0
pytz==2024.1
pyyaml==6.0.1
pytz==2024.2
pyyaml==6.0.2
six==1.16.0
tomli==2.0.1
typing-extensions==4.12.2
tzdata==2024.1
tzdata==2024.2
urllib3==2.0.7
virtualenv==20.26.3
virtualenv==20.26.6
zipp==3.20.2
120 changes: 60 additions & 60 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,155 +1,155 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --no-annotate --no-strip-extras --extra=docs --output-file=requirements-docs.txt pyproject.toml
# uv pip compile --no-annotate --no-strip-extras --python-version=3.9 --extra=docs --output-file=requirements-docs.txt pyproject.toml
aenum==3.1.15
annotated-types==0.7.0
anyio==4.4.0
anyio==4.6.0
appnope==0.1.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==2.4.1
async-lru==2.0.4
attrs==23.2.0
babel==2.15.0
attrs==24.2.0
babel==2.16.0
beautifulsoup4==4.12.3
black==24.4.2
black==24.8.0
bleach==6.1.0
certifi==2024.7.4
cffi==1.16.0
certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
comm==0.2.2
debugpy==1.8.2
debugpy==1.8.6
decorator==5.1.1
defusedxml==0.7.1
docstring-parser==0.16
essentials==1.1.5
essentials-openapi==1.0.9
executing==2.0.1
exceptiongroup==1.2.2
executing==2.1.0
fastjsonschema==2.20.0
fqdn==1.5.1
fsspec==2024.6.1
fsspec==2024.9.0
ghp-import==2.1.0
gitdb==4.0.11
gitpython==3.1.43
griffe==0.48.0
griffe==1.3.1
h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
idna==3.7
importlib-metadata==8.0.0
importlib-resources==6.4.0
httpx==0.27.2
idna==3.10
importlib-metadata==8.5.0
importlib-resources==6.4.5
ipykernel==6.29.5
ipython==8.26.0
ipywidgets==8.1.3
ipython==8.18.1
ipywidgets==8.1.5
isoduration==20.11.0
jedi==0.19.1
jinja2==3.1.4
json5==0.9.25
jsonpointer==3.0.0
jsonschema[format-nongpl]==4.23.0
jsonschema-specifications==2023.12.1
jupyter==1.0.0
jupyter-client==8.6.2
jupyter==1.1.1
jupyter-client==8.6.3
jupyter-console==6.6.3
jupyter-core==5.7.2
jupyter-events==0.10.0
jupyter-lsp==2.2.5
jupyter-server==2.14.2
jupyter-server-terminals==0.5.3
jupyterlab==4.2.3
jupyterlab==4.2.5
jupyterlab-pygments==0.3.0
jupyterlab-server==2.27.3
jupyterlab-widgets==3.0.11
jupytext==1.16.3
lakefs==0.7.0
lakefs-sdk==1.29.0
markdown==3.6
jupyterlab-widgets==3.0.13
jupytext==1.16.4
lakefs==0.7.1
lakefs-sdk==1.36.0
markdown==3.7
markdown-it-py==3.0.0
markupsafe==2.1.5
matplotlib-inline==0.1.7
mdit-py-plugins==0.4.1
mdit-py-plugins==0.4.2
mdurl==0.1.2
mergedeep==1.3.4
mike==2.1.2
mike==2.1.3
mistune==3.0.2
mkdocs==1.6.0
mkdocs-autorefs==1.0.1
mkdocs-callouts==1.13.2
mkdocs==1.6.1
mkdocs-autorefs==1.2.0
mkdocs-callouts==1.14.0
mkdocs-gen-files==0.5.0
mkdocs-get-deps==0.2.0
mkdocs-git-revision-date-localized-plugin==1.2.6
mkdocs-git-revision-date-localized-plugin==1.2.9
mkdocs-include-dir-to-nav==1.2.0
mkdocs-literate-nav==0.6.1
mkdocs-material==9.5.29
mkdocs-material==9.5.39
mkdocs-material-extensions==1.3.1
mkdocs-section-index==0.3.9
mkdocstrings[python]==0.25.1
mkdocstrings-python==1.10.5
mkdocstrings[python]==0.26.1
mkdocstrings-python==1.11.1
mknotebooks==0.8.0
mypy-extensions==1.0.0
nbclient==0.10.0
nbconvert==7.16.4
nbformat==5.10.4
neoteroi-mkdocs==1.0.5
neoteroi-mkdocs==1.1.0
nest-asyncio==1.6.0
notebook==7.2.1
notebook==7.2.2
notebook-shim==0.2.4
overrides==7.7.0
packaging==24.1
paginate==0.5.6
paginate==0.5.7
pandocfilters==1.5.1
parso==0.8.4
pathspec==0.12.1
pexpect==4.9.0
platformdirs==4.2.2
prometheus-client==0.20.0
prompt-toolkit==3.0.47
platformdirs==4.3.6
prometheus-client==0.21.0
prompt-toolkit==3.0.48
psutil==6.0.0
ptyprocess==0.7.0
pure-eval==0.2.2
pure-eval==0.2.3
pycparser==2.22
pydantic==2.8.2
pydantic-core==2.20.1
pydantic==2.9.2
pydantic-core==2.23.4
pygments==2.18.0
pymdown-extensions==10.8.1
pyparsing==3.1.2
pymdown-extensions==10.11.1
pyparsing==3.1.4
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
pytz==2024.1
pyyaml==6.0.1
pytz==2024.2
pyyaml==6.0.2
pyyaml-env-tag==0.1
pyzmq==26.0.3
qtconsole==5.5.2
qtpy==2.4.1
pyzmq==26.2.0
referencing==0.35.1
regex==2024.5.15
regex==2024.9.11
requests==2.32.3
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rich==13.7.1
rpds-py==0.19.0
rich==13.8.1
rpds-py==0.20.0
send2trash==1.8.3
setuptools==70.3.0
setuptools==75.1.0
six==1.16.0
smmap==5.0.1
sniffio==1.3.1
soupsieve==2.5
soupsieve==2.6
stack-data==0.6.3
terminado==0.18.1
tinycss2==1.3.0
tomli==2.0.1
tornado==6.4.1
traitlets==5.14.3
types-python-dateutil==2.9.0.20240316
types-python-dateutil==2.9.0.20240906
typing-extensions==4.12.2
uri-template==1.3.0
urllib3==2.0.7
verspec==0.1.0
watchdog==4.0.1
watchdog==5.0.3
wcwidth==0.2.13
webcolors==24.6.0
webcolors==24.8.0
webencodings==0.5.1
websocket-client==1.8.0
widgetsnbextension==4.0.11
zipp==3.19.2
widgetsnbextension==4.0.13
zipp==3.20.2