Skip to content

Bump to v2.1.0 in pyproject, update deps #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 9, 2024
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 = "julian.hossbach@gmx.de"}
]
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