diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1eefac3..e17b4d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies run: | poetry env use ${{ matrix.python-version }} - poetry install + poetry install --with dev - name: Static type checking run: poetry run mypy . if: runner.os != 'Windows' diff --git a/poetry.lock b/poetry.lock index dc1266e..aafef59 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.3.2 and should not be changed by hand. [[package]] name = "cfgv" @@ -432,7 +432,7 @@ description = "Support for the standard curses module on Windows" optional = false python-versions = "*" groups = ["main"] -markers = "sys_platform == \"win32\"" +markers = "platform_system == \"Windows\"" files = [ {file = "windows_curses-2.4.1-cp310-cp310-win32.whl", hash = "sha256:53d711e07194d0d3ff7ceff29e0955b35479bc01465d46c3041de67b8141db2f"}, {file = "windows_curses-2.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:325439cd4f37897a1de8a9c068a5b4c432f9244bf9c855ee2fbeb3fa721a770c"}, @@ -455,4 +455,4 @@ files = [ [metadata] lock-version = "2.1" python-versions = ">=3.8" -content-hash = "cd366ba1f1cf7c56f91f8e2f1101c126217ba7c9898ddfa69424dd6e42fd1a5e" +content-hash = "be6c1fe55eabdb48c6cd1cff04860cc43eac7905125c62493dd80d41b2c89269" diff --git a/pyproject.toml b/pyproject.toml index deaced0..3b6aa89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,23 +1,27 @@ -[tool.poetry] +[project] name = "pick" version = "2.5.0" description = "Pick an option in the terminal with a simple GUI" -authors = ["wong2 ", "AN Long "] -license = "MIT" +authors = [ + {name = "wong2", email = "wonderfuly@gmail.com"}, + {name = "AN Long", email = "aisk1988@gmail.com"} +] +license = {text = "MIT"} readme = "README.md" repository = "https://github.com/aisk/pick" homepage = "https://github.com/aisk/pick" keywords = ["terminal", "gui"] +requires-python = ">=3.8" -[tool.poetry.dependencies] -python = ">=3.8" -windows-curses = {version = "^2.2.0", platform = "win32"} +dependencies = [ + "windows-curses>=2.2.0; platform_system=='Windows'", +] -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] pytest = "^8.3.5" mypy = "^1.4" pre-commit = "^3.5.0" [build-system] -requires = ["poetry-core>=1.0.0"] +requires = ["poetry-core>=2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/tea.yaml b/tea.yaml deleted file mode 100644 index f9f68c1..0000000 --- a/tea.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# https://tea.xyz/what-is-this-file ---- -version: 1.0.0 -codeOwners: - - '0x8D8A4BA81e4efD6b659e441eBfB5041eCe3E42DC' -quorum: 1