generated from executablebooks/mdformat-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
59 lines (49 loc) · 1.42 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
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "mdformat_pelican"
author = "Gaige B. Paulsen"
author-email = "[email protected]"
description-file = "README.md"
home-page = "https://github.com/gaige/mdformat-pelican"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = "mdformat,markdown,markdown-it"
requires-python=">=3.6"
requires=["mdformat >=0.7.0,<0.8.0",
]
[tool.flit.metadata.requires-extra]
test = [
"pytest~=6.0",
"coverage",
"pytest-cov",
]
dev = ["pre-commit"]
[tool.flit.entrypoints."mdformat.parser_extension"]
pelican = "mdformat_pelican"
[tool.flit.sdist]
include = []
exclude = [".github/", "tests/"]
[tool.isort]
skip = ["venv"]
# Force imports to be sorted by module, independent of import type
force_sort_within_sections = true
# Group first party and local folder imports together
no_lines_before = ["LOCALFOLDER"]
# Configure isort to work without access to site-packages
known_first_party = ["mdformat_pelican", "tests"]
# Settings for Black compatibility
profile = "black"
[tool.black]
line-length = 119
[tool.commitizen]
version = "0.2.1"
tag_format = "v$major.$minor.$patch$prerelease"
version_files = [
"mdformat_pelican/__init__.py:__version__"
]