diff --git a/pyproject.toml b/pyproject.toml index ab1cbeab..542bfab1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,6 +46,21 @@ fastapi = [ flask = [ "flask >=3.0.0, <4.0.0", ] +dev = [ + "pytest >=7.4.0", + "pytest-cov >=4.1.0", + "pytest-django >=4.5.2", + "mypy >=1.5.0", + "bandit >=1.7", + "pylint >=2.0", + "pycodestyle >=2.0", + "pytest-asyncio >=0.21.1", + "pytest-timeout >=2.2.0", + "black >=23.7.0", + "flake8 >=6.1.0", + "isort >=7.0.0; python_version >= '3.10'", + "isort >=5.12.0, <7.0; python_version < '3.10'", +] [project.urls] "Homepage" = "https://github.com/kinde-oss/kinde-python-sdk" @@ -77,5 +92,5 @@ pytest-asyncio = "^0.26.0" pytest-timeout = "^2.2.0" black = "^25.0.0" flake8 = "^7.0.0" -isort = "^5.12.0" +isort = "^7.0.0" diff --git a/requirements.txt b/requirements.txt index 171cc351..ff068db2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,7 +27,11 @@ pytest-cov>=4.1.0 pytest-timeout>=2.2.0 black>=23.7.0 flake8>=6.1.0 -isort>=5.12.0 +# Note: isort version is conditional based on Python version +# Python 3.10+: isort >=7.0.0, Python 3.9: isort >=5.12.0, <7.0 +# Conditional markers mirror pyproject.toml [project.optional-dependencies.dev] +isort>=7.0.0; python_version >= '3.10' +isort>=5.12.0,<7.0; python_version < '3.10' mypy>=1.5.0 PyYAML>=6.0.1 twine>=4.0.2