Skip to content

Commit 36f161c

Browse files
Clean up environment and update pre-commit hooks (#14)
1 parent d4f892f commit 36f161c

File tree

5 files changed

+15
-23
lines changed

5 files changed

+15
-23
lines changed

.envs/testenv.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ dependencies:
1212
- jax
1313
- numpy
1414
- numba
15-
- pandas
1615
- pyyaml
1716

1817
# Testing infrastructure
1918
- pytest
2019
- pytest-cov
2120
- pytest-xdist
22-
23-
# Install locally
2421
- pip:
22+
# Install locally
2523
- -e ../

.pre-commit-config.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ repos:
66
- id: check-useless-excludes
77
# - id: identity # Prints all files passed to pre-commits. Debugging.
88
- repo: https://github.com/adrienverge/yamllint.git
9-
rev: v1.35.1
9+
rev: v1.37.1
1010
hooks:
1111
- id: yamllint
1212
- repo: https://github.com/lyz-code/yamlfix
13-
rev: 1.16.0
13+
rev: 1.17.0
1414
hooks:
1515
- id: yamlfix
1616
- repo: https://github.com/pre-commit/pre-commit-hooks
17-
rev: v4.6.0
17+
rev: v5.0.0
1818
hooks:
1919
- id: check-added-large-files
2020
args:
@@ -42,7 +42,7 @@ repos:
4242
- id: python-use-type-annotations
4343
- id: text-unicode-replacement-char
4444
- repo: https://github.com/pycqa/isort
45-
rev: 5.13.2
45+
rev: 6.0.1
4646
hooks:
4747
- id: isort
4848
name: isort
@@ -55,17 +55,17 @@ repos:
5555
# args:
5656
# - --py37-plus
5757
- repo: https://github.com/asottile/setup-cfg-fmt
58-
rev: v2.5.0
58+
rev: v2.8.0
5959
hooks:
6060
- id: setup-cfg-fmt
6161
- repo: https://github.com/psf/black
62-
rev: 24.4.2
62+
rev: 25.1.0
6363
hooks:
6464
- id: black
65-
language_version: python3.10
65+
language_version: python3.11
6666
exclude: tests/utils/fast_upper_envelope_org.py
6767
- repo: https://github.com/astral-sh/ruff-pre-commit
68-
rev: v0.4.7
68+
rev: v0.11.8
6969
hooks:
7070
- id: ruff
7171
# exclude: |
@@ -74,7 +74,7 @@ repos:
7474
# docs/source/conf.py|
7575
# )$
7676
- repo: https://github.com/PyCQA/docformatter
77-
rev: v1.7.5
77+
rev: v1.7.7
7878
hooks:
7979
- id: docformatter
8080
args:
@@ -86,12 +86,12 @@ repos:
8686
- --blank
8787
exclude: tests/utils/fast_upper_envelope_org.py
8888
- repo: https://github.com/nbQA-dev/nbQA
89-
rev: 1.8.5
89+
rev: 1.9.1
9090
hooks:
9191
- id: nbqa-black
9292
- id: nbqa-ruff
9393
- repo: https://github.com/executablebooks/mdformat
94-
rev: 0.7.17
94+
rev: 0.7.22
9595
hooks:
9696
- id: mdformat
9797
additional_dependencies:
@@ -102,7 +102,7 @@ repos:
102102
- '88'
103103
files: (README\.md)
104104
- repo: https://github.com/codespell-project/codespell
105-
rev: v2.3.0
105+
rev: v2.4.1
106106
hooks:
107107
- id: codespell
108108
additional_dependencies:

environment.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,23 @@ channels:
44
- conda-forge
55
- defaults
66
dependencies:
7-
- python=3.10
7+
- python=3.11
88
- pip
99
- pytest
1010
- pytest-cov
1111
- pytest-xdist
1212

1313
# Package dependencies
14-
- estimagic
1514
- numpy
1615
- scipy
1716
- numba
18-
- pandas
1917
- jax
20-
- networkx
2118

2219
# Misc
2320
- black
2421
- nb_black
2522
- flake8
2623
- jupyterlab
27-
- matplotlib
2824
- pdbpp
2925
- pre-commit
3026
- setuptools_scm

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ platforms = unix, linux, osx, cygwin, win32
1111
classifiers =
1212
Development Status :: 1 - Planning
1313
Intended Audience :: Science/Research
14-
License :: OSI Approved :: MIT License
1514
Operating System :: MacOS :: MacOS X
1615
Operating System :: Microsoft :: Windows
1716
Operating System :: POSIX
@@ -24,7 +23,7 @@ project_urls =
2423

2524
[options]
2625
packages = find:
27-
python_requires = >=3.8
26+
python_requires = >=3.9
2827
include_package_data = True
2928
package_dir =
3029
=src

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ conda_deps =
2121
jax
2222
numpy
2323
numba
24-
pandas
2524
jax
2625

2726
# Optional and test dependencies

0 commit comments

Comments
 (0)