Skip to content

Commit

Permalink
exclude constraints
Browse files Browse the repository at this point in the history
update black and ruff everywhere
  • Loading branch information
matthewfeickert committed Nov 6, 2023
1 parent 688d0de commit 5397861
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ repos:
- id: name-tests-test
args: ["--pytest-test-first"]
- id: requirements-txt-fixer
exclude: tests/constraints.txt
- id: trailing-whitespace
# exclude generated files
exclude: ^validation/|\.dtd$|\.xml$
Expand All @@ -41,7 +42,7 @@ repos:
rev: 1.16.0
hooks:
- id: blacken-docs
additional_dependencies: [black==23.7.0]
additional_dependencies: [black==23.10.1]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
Expand All @@ -62,7 +63,7 @@ repos:
rev: 1.7.0
hooks:
- id: nbqa-ruff
additional_dependencies: [ruff==0.0.292]
additional_dependencies: [ruff==v0.1.4]
args: ["--extend-ignore=F821,F401,F841,F811"]

- repo: https://github.com/codespell-project/codespell
Expand Down
34 changes: 17 additions & 17 deletions tests/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# jax
# Use Google Cloud Storage buckets for long term wheel support
# c.f. https://github.com/google/jax/discussions/7608#discussioncomment-1269342
--find-links https://storage.googleapis.com/jax-releases/jax_releases.html
# core
scipy==1.5.1 # c.f. PR #2081
click==8.0.0 # c.f. PR #1958, #1909
# minuit
iminuit==2.7.0 # c.f. PR #1895
importlib_resources==1.4.0 # c.f. PR #1979
jax==0.4.1 # c.f. PR #2079
jaxlib==0.4.1 # c.f. PR #2079
jsonpatch==1.15
tqdm==4.56.0
jsonschema==4.15.0 # c.f. PR #1979
numpy==1.21.0 # constrained by jax v0.4.1
protobuf<4.21.0 # c.f. PR #2117
jsonpatch==1.15
pyyaml==5.1
# core
scipy==1.5.1 # c.f. PR #2081
importlib_resources==1.4.0 # c.f. PR #1979
numpy==1.21.0 # constrained by jax v0.4.1
# xmlio
uproot==4.1.1
# minuit
iminuit==2.7.0 # c.f. PR #1895
# tensorflow
tensorflow==2.7.0 # c.f. PR #1962
tensorflow-probability==0.11.0 # c.f. PR #1657
protobuf<4.21.0 # c.f. PR #2117
# torch
torch==1.10.0
tqdm==4.56.0
# xmlio
uproot==4.1.1
# jax
# Use Google Cloud Storage buckets for long term wheel support
# c.f. https://github.com/google/jax/discussions/7608#discussioncomment-1269342
--find-links https://storage.googleapis.com/jax-releases/jax_releases.html
jax==0.4.1 # c.f. PR #2079
jaxlib==0.4.1 # c.f. PR #2079

0 comments on commit 5397861

Please sign in to comment.