-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
81 lines (68 loc) · 2.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
73
74
75
76
77
78
79
80
81
[tool.poetry]
name = "mkdocs-exclude-unused-files"
version = "0.0.0"
description = "A mkdocs plugin that excludes assets that are unused (orphaned) from being included in the final mkdocs output."
authors = ["Jonas Lorenz <jonas@jonasdoesthings.com>"]
readme = "README.md"
homepage = "https://github.com/JonasDoesThings/mkdocs-exclude-unused-files"
repository = "https://github.com/JonasDoesThings/mkdocs-exclude-unused-files"
documentation = "https://github.com/JonasDoesThings/mkdocs-exclude-unused-files/blob/main/README.md"
license = "MIT"
keywords = ["mkdocs", "mkdocs-plugin", "unused-files", "orphaned-files"]
packages = [{ include = "mkdocs_exclude_unused_files" }]
[tool.poetry.urls]
Issues = "https://github.com/JonasDoesThings/mkdocs-exclude-unused-files/issues"
History = "https://github.com/JonasDoesThings/mkdocs-exclude-unused-files/releases"
[tool.poetry.plugins."mkdocs.plugins"]
mkdocs_exclude_unused_files = "mkdocs_exclude_unused_files.plugin:ExcludeUnusedFilesPlugin"
mkdocs-exclude-unused-files = "mkdocs_exclude_unused_files.plugin:ExcludeUnusedFilesPlugin"
exclude_unused_files = "mkdocs_exclude_unused_files.plugin:ExcludeUnusedFilesPlugin"
exclude-unused-files = "mkdocs_exclude_unused_files.plugin:ExcludeUnusedFilesPlugin"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
mkdocs = "^1.5.3"
beautifulsoup4 = "^4.12.3"
[tool.poetry.group.dev.dependencies]
pyupgrade = "^3.15.0"
mypy = "^1.8.0"
black = "^24.1.0"
pre-commit = "^3.3.1"
isort = "^5.13.2"
flake8 = "^7.0.0"
bandit = "^1.7.7"
types-beautifulsoup4 = "^4.12.0.20240106"
mkdocs-material = "^9.5.5"
[tool.poetry.plugins."poetry-plugin-up"]
# https://github.com/MousaZeidBaker/poetry-plugin-up#usage
[tool.poetry-dynamic-versioning]
# https://github.com/mtkennerly/poetry-dynamic-versioning#configuration
enable = true
style = "semver"
vcs = "git"
bump = true
[tool.black]
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format
target-version = ["py310"]
line-length = 120
[tool.isort]
# https://pycqa.github.io/isort/docs/configuration/options.html
py_version = 310
profile = "black"
[tool.bandit]
# https://bandit.readthedocs.io/en/latest/config.html#bandit-settings
exclude_dirs = [".venv"]
[tool.ruff]
# https://beta.ruff.rs/docs/settings/
target-version = "py310"
exclude = [".venv"]
line-length = 120
[tool.mypy]
# https://mypy.readthedocs.io/en/stable/config_file.html
python_version = "3.10"
files = "**/*.py"
exclude = ['/setup\.py$']
[tool.pyright]
venvPath = ".venv"
[build-system]
requires = ["poetry-core>=1.3.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"