Skip to content

Commit 7152ed2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5447da3 commit 7152ed2

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

docs/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import os
22
from importlib.metadata import version
33

4-
54
author = "Janos Gabler, Tobias Raabe"
65

76
# Set variable so that todos are shown in local build

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ url = https://github.com/OpenSourceEconomics/pybaum
77
author = Janos Gabler, Tobias Raabe
88
author_email = janos.gabler@gmail.com
99
license = MIT
10-
license_file = LICENSE
10+
license_files = LICENSE
1111
platforms = unix, linux, osx, cygwin, win32
1212
classifiers =
1313
Development Status :: 3 - Alpha
14-
License :: OSI Approved :: MIT License
1514
Operating System :: MacOS :: MacOS X
1615
Operating System :: Microsoft :: Windows
1716
Operating System :: POSIX
@@ -22,7 +21,7 @@ classifiers =
2221

2322
[options]
2423
packages = find:
25-
python_requires = >=3.7
24+
python_requires = >=3.10
2625
include_package_data = True
2726
package_dir =
2827
=src

src/pybaum/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from pybaum.tree_util import tree_update
1111
from pybaum.tree_util import tree_yield
1212

13-
1413
__all__ = [
1514
"tree_flatten",
1615
"tree_just_flatten",

src/pybaum/equality.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"""Functions to check equality of pytree leaves."""
2+
23
from pybaum.config import IS_JAX_INSTALLED
34
from pybaum.config import IS_NUMPY_INSTALLED
45
from pybaum.config import IS_PANDAS_INSTALLED
56

6-
77
if IS_NUMPY_INSTALLED:
88
import numpy as np
99

src/pybaum/tree_util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- The treedef containing information to unflatten pytrees is implemented differently.
77
88
"""
9+
910
from pybaum.equality import EQUALITY_CHECKERS
1011
from pybaum.registry import get_registry
1112
from pybaum.typecheck import get_type

0 commit comments

Comments
 (0)