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
10 changes: 4 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
repos:
- repo: https://github.com/psf/black
rev: 22.8.0
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
hooks:
- id: mypy
args: [--ignore-missing-imports]

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.158
rev: v0.2.1
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
Expand Down
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "python-lsp-ruff"
authors = [
{name = "Julian Hossbach", email = "[email protected]"}
]
version = "2.0.2"
version = "2.1.0"
description = "Ruff linting plugin for pylsp"
readme = "README.md"
requires-python = ">=3.8"
Expand All @@ -16,7 +16,7 @@ dependencies = [
"ruff>=0.2.0, <0.3.0",
"python-lsp-server",
"cattrs!=23.2.1",
"lsprotocol>=2022.0.0a1",
"lsprotocol>=2023.0.1",
"tomli>=1.1.0; python_version < '3.11'",
]

Expand All @@ -32,7 +32,3 @@ ruff = "pylsp_ruff.plugin"

[tool.pytest.ini_options]
pythonpath = ["."]

[tool.black]
target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311']
line-length = 88