File tree Expand file tree Collapse file tree 2 files changed +36
-37
lines changed Expand file tree Collapse file tree 2 files changed +36
-37
lines changed Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools>=44 " , " wheel" , " setuptools_scm[toml]>=3.4.3" ]
2+ requires = [" setuptools>=61.2.0 " , " wheel" , " setuptools_scm[toml]>=3.4.3" ]
33build-backend = " setuptools.build_meta"
44
5+ [project ]
6+ name = " python-lsp-jsonrpc"
7+ authors = [{name = " Python Language Server Contributors" }]
8+ description = " JSON RPC 2.0 server library"
9+ dependencies = [" ujson>=3.0.0" ]
10+ dynamic = [" version" ]
11+
12+ [project .readme ]
13+ file = " README.md"
14+ content-type = " text/markdown"
15+
16+ [project .urls ]
17+ Homepage = " https://github.com/python-lsp/python-lsp-jsonrpc"
18+
19+ [project .optional-dependencies ]
20+ test = [
21+ " pylint" ,
22+ " pycodestyle" ,
23+ " pyflakes" ,
24+ " pytest" ,
25+ " pytest-cov" ,
26+ " coverage" ,
27+ ]
28+
29+ [tool .setuptools ]
30+ include-package-data = false
31+
32+ [tool .setuptools .packages .find ]
33+ exclude = [" contrib" , " docs" , " test" , " test.*" ]
34+ namespaces = false
35+
536[tool .setuptools_scm ]
637write_to = " pylsp_jsonrpc/_version.py"
738write_to_template = " __version__ = \" {version}\"\n " # VERSION_INFO is populated in __main__
39+
40+ [tool .pytest .ini_options ]
41+ testpaths = [" test" ]
42+ addopts = " --cov-report html --cov-report term --junitxml=pytest.xml --cov pylsp_jsonrpc --cov test"
Original file line number Diff line number Diff line change 1- [metadata]
2- name = python-lsp-jsonrpc
3- author = Python Language Server Contributors
4- description = JSON RPC 2.0 server library
5- url = https://github.com/python-lsp/python-lsp-jsonrpc
6- long_description = file: README.md
7- long_description_content_type = text/markdown
8-
9-
10- [options]
11- packages = find:
12- setup_requires = setuptools>=44; wheel; setuptools_scm[toml]>=3.4.3
13- install_requires = ujson>=3.0.0
14-
15- [options.packages.find]
16- exclude =
17- contrib
18- docs
19- test
20- test.*
21-
22- [options.extras_require]
23- test =
24- pylint
25- pycodestyle
26- pyflakes
27- pytest
28- pytest-cov
29- coverage
30-
311[pycodestyle]
322ignore = E226, E722, W504
333max-line-length = 120
344exclude = test/plugins/.ropeproject,test/.ropeproject
35-
36- [tool:pytest]
37- testpaths = test
38- addopts =
39- --cov-report html --cov-report term --junitxml =pytest.xml
40- --cov pylsp_jsonrpc --cov test
You can’t perform that action at this time.
0 commit comments