Skip to content

Commit

Permalink
Python to 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro committed Dec 4, 2023
1 parent 515fcb8 commit 42be6cc
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 83 deletions.
2 changes: 1 addition & 1 deletion nbs/00_core.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
"outputs": [],
"source": [
"# | export\n",
"def map_data(obj: Data, process: Callable, level: int|None=0) -> MappedData:\n",
"def map_data(obj: Data, process: Callable, level: int | None=0) -> MappedData:\n",
" \"\"\"Maps over a `Data` inst returning `MappedData` instances\"\"\"\n",
" child_results = [map_data(c, process, level=(level or 0) + 1) for c in obj.children]\n",
" value = process(obj, level)\n",
Expand Down
135 changes: 55 additions & 80 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [
]

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"
fastcore = "^1.5.27"
python-frontmatter = "^1.0.0"
click = "^8.1.3"
Expand Down
2 changes: 1 addition & 1 deletion settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
repo = sal
lib_name = sal-code-generator
version = 0.0.25
min_python = 3.7
min_python = 3.10
license = apache2
doc_path = _docs
lib_path = sal
Expand Down

0 comments on commit 42be6cc

Please sign in to comment.