-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
72 lines (61 loc) · 1.59 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
[tool.poetry]
name = "jekyllnb"
version = "0.3.1"
description = "Convert Jupyter Notebooks to Jekyll-ready Markdown files"
authors = ["Kevin Lane <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/klane/jekyllnb"
documentation = "https://jekyllnb.readthedocs.io"
keywords = ["jekyll", "jupyter", "nbconvert"]
classifiers = [
"Framework :: Jupyter",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing",
"Topic :: Utilities"
]
[tool.poetry.dependencies]
python = "^3.6"
nbconvert = "^6.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2"
pytest-cov = "^3.0"
pytest-lazy-fixture = "^0.6"
pytest-sugar = "^0.9"
pre-commit = "^2.1"
tox = "^3.24"
[tool.poetry.plugins."console_scripts"]
"jupyter-jekyllnb" = "jekyllnb.jekyllnb:JekyllNB.launch_instance"
[tool.poetry.plugins."nbconvert.exporters"]
"jekyll" = "jekyllnb:JekyllExporter"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
known_third_party = ["nbconvert", "pytest", "pytest_lazyfixture", "traitlets"]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
skipsdist = true
envlist = py{36,37,38,39},lint
[testenv]
skip_install = true
whitelist_externals = poetry
commands =
poetry install
poetry run pytest tests/ --cov=jekyllnb {posargs}
[testenv:lint]
deps = pre-commit
commands =
pre-commit install-hooks
pre-commit run --all-files
[flake8]
ignore = B950,E203,W503
max-line-length = 88
max-complexity = 10
select = B,C,E,F,W,T4,B9
"""