Skip to content

Commit

Permalink
Re-enable hashes (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh authored Dec 26, 2022
1 parent 0484171 commit d04b07c
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 41 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ lock:
pip-compile --resolver=backtracking --upgrade --extra dev -o requirements-dev.txt pyproject.toml

install:
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install --no-deps -r requirements.txt
pip install --no-deps -r requirements-dev.txt

fmt:
ruff --fix ./ruff_lsp ./tests
Expand Down
68 changes: 34 additions & 34 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,43 @@ name = "ruff-lsp"
dynamic = ["version"]
description = "A Language Server Protocol implementation for Ruff."
authors = [
{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" },
{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" },
]
maintainers = [
{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" },
{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" },
]
requires-python = ">=3.7"
license = "MIT"
keywords = ["ruff", "lsp", "language-server", "language-server-protocol", "python"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
]
urls = { repository = "https://github.com/charliermarsh/ruff-lsp" }
dependencies = [
"pygls>=1.0.0a3",
"ruff>=0.0.150",
"typing_extensions",
"pygls>=1.0.0a3",
"ruff>=0.0.150",
"typing_extensions",
]

[project.optional-dependencies]
dev = [
"black==22.12.0",
"mypy==0.991",
"python-lsp-jsonrpc==1.0.0",
"black==22.12.0",
"mypy==0.991",
"python-lsp-jsonrpc==1.0.0",
]

[project.scripts]
Expand All @@ -55,13 +55,13 @@ path = "ruff_lsp/__init__.py"
[tool.ruff]
line-length = 88
select = [
"E",
"F",
"W",
"Q",
"UP",
"I",
"N",
"E",
"F",
"W",
"Q",
"UP",
"I",
"N",
]
target-version = "py37"
extend-exclude = ["tests/data"]
Expand All @@ -78,9 +78,9 @@ check_untyped_defs = true

[[tool.mypy.overrides]]
module = [
"debugpy.*",
"lsprotocol.*",
"pygls.*",
"pylsp_jsonrpc.*",
"debugpy.*",
"lsprotocol.*",
"pygls.*",
"pylsp_jsonrpc.*",
]
ignore_missing_imports = true
21 changes: 19 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.7
# by the following command:
#
# pip-compile --extra=dev --output-file=requirements-dev.txt --resolver=backtracking pyproject.toml
Expand All @@ -14,6 +14,10 @@ cattrs==22.2.0
# via lsprotocol
click==8.1.3
# via black
exceptiongroup==1.1.0
# via cattrs
importlib-metadata==5.2.0
# via click
lsprotocol==2022.0.0a9
# via pygls
mypy==0.991
Expand All @@ -30,13 +34,26 @@ pygls==1.0.0
# via ruff-lsp (pyproject.toml)
python-lsp-jsonrpc==1.0.0
# via ruff-lsp (pyproject.toml)
ruff==0.0.193
ruff==0.0.194
# via ruff-lsp (pyproject.toml)
tomli==2.0.1
# via
# black
# mypy
typed-ast==1.5.4
# via
# black
# mypy
typeguard==2.13.3
# via pygls
typing-extensions==4.4.0
# via
# black
# cattrs
# importlib-metadata
# mypy
# ruff-lsp (pyproject.toml)
ujson==5.6.0
# via python-lsp-jsonrpc
zipp==3.11.0
# via importlib-metadata
10 changes: 7 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.7
# by the following command:
#
# pip-compile --output-file=requirements.txt --resolver=backtracking pyproject.toml
Expand All @@ -10,13 +10,17 @@ attrs==22.2.0
# lsprotocol
cattrs==22.2.0
# via lsprotocol
exceptiongroup==1.1.0
# via cattrs
lsprotocol==2022.0.0a9
# via pygls
pygls==1.0.0
# via ruff-lsp (pyproject.toml)
ruff==0.0.193
ruff==0.0.194
# via ruff-lsp (pyproject.toml)
typeguard==2.13.3
# via pygls
typing-extensions==4.4.0
# via ruff-lsp (pyproject.toml)
# via
# cattrs
# ruff-lsp (pyproject.toml)

0 comments on commit d04b07c

Please sign in to comment.