-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
61 lines (47 loc) · 1.51 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "mdformat-rustfmt"
version = "0.0.3" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
authors = ["Taneli Hukkinen <[email protected]>"]
description = "Mdformat plugin to rustfmt Rust code blocks"
repository = "https://github.com/hukkinj1/mdformat-rustfmt"
readme = "README.md"
license = "MIT"
classifiers = [
"Topic :: Documentation",
"Topic :: Text Processing :: Markup",
"Typing :: Typed",
]
keywords = ["mdformat", "markdown", "commonmark", "formatter"]
packages = [
{include = "mdformat_rustfmt"},
]
#include = ["mdformat_rustfmt/py.typed"]
#[tool.poetry.urls]
#"Changelog" = "https://github.com/hukkinj1/mdformat-rustfmt/blob/master/CHANGELOG.md"
[tool.poetry.plugins."mdformat.codeformatter"]
"rust" = "mdformat_rustfmt:format_rust"
[tool.poetry.dependencies]
python = "^3.6.1"
mdformat = ">=0.3.5"
[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_rustfmt", "tests"]
# Settings for Black compatibility
profile = "black"
[tool.pytest.ini_options]
addopts = "--strict-markers --strict-config"
xfail_strict = true