-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
68 lines (54 loc) · 1.71 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "mdformat-web"
version = "0.2.0" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
authors = ["Taneli Hukkinen <[email protected]>"]
description = "Mdformat plugin to format JS, CSS, HTML and XML code blocks"
repository = "https://github.com/hukkin/mdformat-web"
readme = "README.md"
license = "MIT"
classifiers = [
"Topic :: Documentation",
"Topic :: Text Processing :: Markup",
"Typing :: Typed",
]
keywords = ["mdformat", "markdown", "commonmark", "formatter"]
packages = [
{include = "mdformat_web"},
]
#include = ["mdformat_web/py.typed"]
#[tool.poetry.urls]
#"Changelog" = "https://github.com/hukkin/mdformat-web/blob/master/CHANGELOG.md"
[tool.poetry.plugins."mdformat.codeformatter"]
"javascript" = "mdformat_web:format_js"
"js" = "mdformat_web:format_js"
"css" = "mdformat_web:format_css"
"html" = "mdformat_web:format_html"
"xml" = "mdformat_web:format_xml"
[tool.poetry.dependencies]
python = ">=3.9"
mdformat = ">=0.3.5"
jsbeautifier = ">=1.13.0"
cssbeautifier = ">=1.13.0"
beautifulsoup4 = ">=4.9.3"
[tool.poetry.dev-dependencies]
# Tests
pytest = "*"
pytest-randomly = "*"
# Tools
pre-commit = "*"
bump2version = "*"
[tool.isort]
# 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_web", "tests"]
# Settings for Black compatibility
profile = "black"
[tool.pytest.ini_options]
addopts = "--strict-markers --strict-config"
xfail_strict = true