Skip to content

Commit ef49153

Browse files
authored
Merge pull request #696 from linshokaku/pysen-py-version-38
change pysen python_version to python3.8
2 parents a050516 + 03ac221 commit ef49153

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ enable_isort = true
1111
enable_mypy = true
1212
mypy_preset = "strict"
1313
line_length = 80
14+
py_version = "py38"
1415

1516
[[tool.pysen.lint.mypy_targets]]
1617
paths = ["pytorch_pfn_extras"]

setup.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[flake8]
22
# automatically generated by pysen
3+
# pysen ignores and overwrites any modifications
34
# e203: black treats : as a binary operator
45
# e231: black doesn't put a space after ,
56
# e501: black may exceed the line-length to follow other style rules
@@ -10,6 +11,7 @@ select = B,B950,C,E,F,W
1011

1112
[mypy]
1213
# automatically generated by pysen
14+
# pysen ignores and overwrites any modifications
1315
check_untyped_defs = True
1416
disallow_any_decorated = False
1517
disallow_any_generics = False
@@ -22,7 +24,7 @@ disallow_untyped_defs = True
2224
ignore_errors = False
2325
ignore_missing_imports = True
2426
no_implicit_optional = True
25-
python_version = 3.7
27+
python_version = 3.8
2628
show_error_codes = True
2729
strict_equality = True
2830
strict_optional = True
@@ -31,4 +33,3 @@ warn_return_any = True
3133
warn_unreachable = True
3234
warn_unused_configs = True
3335
warn_unused_ignores = False
34-

0 commit comments

Comments
 (0)