Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Starkiller

[![PyPI - Version](https://img.shields.io/pypi/v/starkiller)](https://pypi.org/project/starkiller/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/starkiller)
[![CI status](https://github.com/kompoth/starkiller/actions/workflows/ci.yaml/badge.svg)](https://github.com/kompoth/starkiller/actions)

**Work in progress**
Expand Down Expand Up @@ -29,8 +31,7 @@ To enable the plugin install Starkiller in the same virtual environment as `pyth
dependency. E.g., with `pipx`:

```bash
uv build
pipx inject python-lsp-server ./dist/starkiller-<VERSION>-py3-none-any.whl[pylsp]
pipx inject python-lsp-server starkiller[pylsp]
```

The plugin is enabled just the same way as any other `pylsp` plugin. E.g., in Neovim via
Expand Down
29 changes: 28 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
[project]
name = "starkiller"
version = "0.1.2"
version = "0.1.3"
description = "Import refactoring package and pylsp plugin"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"jedi>=0.19.2",
]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: Software Development :: Code Generators",
"Typing :: Typed",
"Environment :: Plugins",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
]

[project.urls]
Homepage = "https://github.com/kompoth/starkiller"

[project.optional-dependencies]
pylsp = [
Expand All @@ -21,6 +38,10 @@ dev = [
"pytest-virtualenv>=1.8.1",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project.entry-points.pylsp]
starkiller = "starkiller.pylsp_plugin.plugin"

Expand Down Expand Up @@ -56,3 +77,9 @@ convention = "google"
line_length = 120
multi_line_output = 3
split_on_trailing_comma = true

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true