-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (58 loc) · 1.62 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (58 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[project]
name = "mfdls"
version = "0.1.1"
description = "A language server, implementing the Language Server Protocol, for the MEDFORD metadata markup language."
authors = [
{ name="Liam Strand", email="Liam.Strand@tufts.edu" },
{ name="Andrew Powers", email="andrew_powers@uri.edu" },
]
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Text Processing :: Markup",
"Topic :: Text Editors :: Integrated Development Environments (IDE)",
"Operating System :: OS Independent",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.urls]
homepage = "https://github.com/liam-strand/medford-language-server/"
repository = "https://github.com/liam-strand/medford-language-server/"
# Requirements
[dependencies]
pygls = "1.0"
medford = "1.0"
[dev-dependencies]
black = "^22.1"
mock = "^4.0"
pylint = "^2.24"
pytest = "^7.1"
mypy = "0.*"
#### BLACK ####
[tool.black]
line-length = 88
target_version = ['py38']
#### MYPY ####
[tool.mypy]
python_version = 3.8
[[tool.mypy.overrides]]
module = "MEDFORD.*"
ignore_missing_imports = true
#### PYLINT ####
[tool.pylint.'BASIC']
good-names = ["f", "ls", "medford-language-server"]
[tool.pylint.'LOGGING']
logging-format-style = "new"
[tools.pylint."MASTER"]
py-version = 3.8
jobs = 0
[tool.pylint.'MESSAGES CONTROL']
disable = ["R1705", "R0801"]
# R1705: sometimes having each branch enumerated is more clear
# R0801: sometimes you need to repeat yourself
[tool.pylint.'REPORTS']
output-format = "colorized"