Skip to content

Commit

Permalink
Merge pull request #696 from linshokaku/pysen-py-version-38
Browse files Browse the repository at this point in the history
change pysen python_version to python3.8
  • Loading branch information
kmaehashi authored Jun 30, 2023
2 parents a050516 + 03ac221 commit ef49153
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ enable_isort = true
enable_mypy = true
mypy_preset = "strict"
line_length = 80
py_version = "py38"

[[tool.pysen.lint.mypy_targets]]
paths = ["pytorch_pfn_extras"]
Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[flake8]
# automatically generated by pysen
# pysen ignores and overwrites any modifications
# e203: black treats : as a binary operator
# e231: black doesn't put a space after ,
# e501: black may exceed the line-length to follow other style rules
Expand All @@ -10,6 +11,7 @@ select = B,B950,C,E,F,W

[mypy]
# automatically generated by pysen
# pysen ignores and overwrites any modifications
check_untyped_defs = True
disallow_any_decorated = False
disallow_any_generics = False
Expand All @@ -22,7 +24,7 @@ disallow_untyped_defs = True
ignore_errors = False
ignore_missing_imports = True
no_implicit_optional = True
python_version = 3.7
python_version = 3.8
show_error_codes = True
strict_equality = True
strict_optional = True
Expand All @@ -31,4 +33,3 @@ warn_return_any = True
warn_unreachable = True
warn_unused_configs = True
warn_unused_ignores = False

0 comments on commit ef49153

Please sign in to comment.