Skip to content

Commit 6dd5f34

Browse files
committed
fix: update Ruff configuration to ignore E501 and enforce Python 3.8 or higher in setup
1 parent bf3341d commit 6dd5f34

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ select = [
1717
"I", # isort
1818
"W", # pycodestyle 警告
1919
]
20-
ignore = []
20+
ignore = ["E501"]
2121

2222
# isort の設定
2323
[tool.ruff.lint.isort]

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
import sys
2+
13
from setuptools import setup
24

35
install_requires = []
46

7+
if sys.version_info < (3, 8):
8+
raise DeprecationWarning(
9+
"Python versions below 3.8 are no longer supported by PAY.JP. Please use Python 3.8 or higher."
10+
)
511

612
install_requires.append("requests >= 2.7.0")
713

0 commit comments

Comments
 (0)