-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reverted accidental upgrade to python 3.10 to 3.9
- Loading branch information
1 parent
792fa54
commit 0d99f67
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ authors = [ | |
{name = "Naoki Yokoyama", email = "[email protected]"}, | ||
] | ||
readme = "README.md" | ||
requires-python = ">=3.10" | ||
requires-python = ">=3.9" | ||
dependencies = [ | ||
"torch >= 1.10.1", | ||
"numpy >= 1.22.4", | ||
|
@@ -92,8 +92,8 @@ line-length = 120 | |
# Allow unused variables when underscore-prefixed. | ||
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" | ||
|
||
# Assume Python 3.10 | ||
target-version = "py310" | ||
# Assume Python 3.9 | ||
target-version = "py39" | ||
|
||
[tool.ruff.per-file-ignores] | ||
"__init__.py" = ["F401"] | ||
|
@@ -104,7 +104,7 @@ max-complexity = 10 | |
|
||
[tool.black] | ||
line-length = 120 | ||
target-version = ['py310'] | ||
target-version = ['py39'] | ||
include = '\.pyi?$' | ||
# `extend-exclude` is not honored when `black` is passed a file path explicitly, | ||
# as is typical when `black` is invoked via `pre-commit`. | ||
|
@@ -122,7 +122,7 @@ relative_files = true | |
|
||
# mypy configuration | ||
[tool.mypy] | ||
python_version = "3.10" | ||
python_version = "3.9" | ||
disallow_untyped_defs = true | ||
ignore_missing_imports = true | ||
explicit_package_bases = true | ||
|