-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
102 lines (85 loc) · 2.14 KB
/
pyproject.toml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Poetry settings
[tool.poetry]
name = "SnakeMD"
description = "A markdown generation library for Python."
version = "2.2.0"
license = "MIT"
authors = [
"Jeremy Grifski <jeremy.grifski@therenegadecoder.com>"
]
readme = "README.md"
homepage = "https://www.snakemd.io"
repository = "https://github.com/TheRenegadeCoder/SnakeMD"
documentation = "https://www.snakemd.io/en/latest/docs/"
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Topic :: Documentation :: Sphinx",
]
[tool.poetry.urls]
Changelog = "https://www.snakemd.io/en/latest/version-history/"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.test.dependencies]
coverage = "^7.2"
markdown = "^3.4"
pytest = "^7.3"
[tool.poetry.group.docs.dependencies]
sphinx = "^6.2"
sphinx-issues = "^3.0"
sphinx_rtd_theme = "^1.2"
[tool.poetry.group.analysis.dependencies]
black = "^23.3"
isort = "^5.12"
pydocstringformatter = "^v0.7"
pylint = "^2.17"
# Pytest settings
[tool.pytest.ini_options]
minversion = "7.3"
testpaths = [
"tests"
]
log_file = "tests/pytest.log"
log_file_level = "DEBUG"
log_file_format = "%(asctime)s [%(levelname)s] (%(filename)s:%(lineno)s) %(message)s"
log_file_date_format = "%Y-%m-%d %H:%M:%S"
# Coverage settings
[tool.coverage.run]
branch = true
source = [
"snakemd"
]
[tool.coverage.report]
fail_under = 95
# Black formatting settings
[tool.black]
line-length = 88
target-version = ['py38', 'py39', 'py310', 'py311']
# Pylint settings
[tool.pylint.format]
max-line-length = 88
fail-under = 9.5
max-args = 8
[tool.pylint.messages_control]
disable = [
"C0302"
]
# isort setttings
[tool.isort]
profile = "black"
py_version = 311
# pydocstringformatter settings
[tool.pydocstringformatter]
write = true
strip-whitespaces = true
split-summary-body = false
max-line-length = 88
# Build system settings
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"