Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
87 lines (73 loc) · 2.38 KB

File metadata and controls

87 lines (73 loc) · 2.38 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "markdown-code-runner"
description = "Automatically execute code blocks within a Markdown file and update the output in-place"
authors = [{ name = "Bas Nijholt", email = "bas@nijho.lt" }]
dependencies = []
requires-python = ">=3.9"
dynamic = ["version"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/basnijholt/markdown-code-runner"
Documentation = "https://markdown-code-runner.nijho.lt"
[project.optional-dependencies]
test = ["pytest", "pre-commit", "coverage", "pytest-cov"]
docs = ["zensical", "markdown-gfm-admonition", "pandas", "tabulate", "requests"]
[project.scripts]
markdown-code-runner = "markdown_code_runner:main"
[tool.setuptools]
py-modules = ["markdown_code_runner"]
[tool.setuptools_scm]
[tool.pytest.ini_options]
addopts = """
--cov=markdown_code_runner
--cov-report term
--cov-report html
--cov-fail-under=100
"""
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"T20", # flake8-print
"S101", # Use of assert detected
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed in {name}
"D402", # First line should not be the function's signature
"PLW0603", # Using the global statement to update `X` is discouraged
"D401", # First line of docstring should be in imperative mood
"COM812", # Conflicts with ruff formatter
"D203", # Conflicts with D211
"D213", # Conflicts with D212
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["SLF001"]
"ci/*" = ["INP001"]
"tests/test_examples.py" = ["E501"]
[tool.ruff.lint.mccabe]
max-complexity = 18
[tool.mypy]
python_version = "3.9"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.